debug-subsections.yaml 3.18 KB
DbiStream:       
  Modules:         
    - Module:          'Foo.obj'
      ObjFile:         'Foo.obj'
      Subsections:     
        - !CrossModuleExports
          Exports:         
            - LocalId:         4852
              GlobalId:        9283
            - LocalId:         2147487875
              GlobalId:        9123
    - Module:          'Bar.obj'
      ObjFile:         'Bar.obj'
      Subsections:     
        - !CrossModuleExports
          Exports:         
            - LocalId:         4265
              GlobalId:        6097
            - LocalId:         4297
              GlobalId:        4677
        - !CrossModuleImports
          Imports:         
            - Module:          'Foo.obj'
              Imports:         [ 4852, 2147487875 ]
    - Module:          'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
      ObjFile:         'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
      SourceFiles:
        - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
      Subsections:
        - !FileChecksums
          Checksums:
            - FileName:        'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
              Kind:            MD5
              Checksum:        A0A5BD0D3ECD93FC29D19DE826FBF4BC
            - FileName:        'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
              Kind:            MD5
              Checksum:        1154D69F5B2650196E1FC34F4134E56B
        - !Lines
          CodeSize:        10
          Flags:           [  ]
          RelocOffset:     100016
          RelocSegment:    1
          Blocks:
            - FileName:        'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
              Lines:
                - Offset:          0
                  LineStart:       5
                  IsStatement:     true
                  EndDelta:        0
                - Offset:          3
                  LineStart:       6
                  IsStatement:     true
                  EndDelta:        0
                - Offset:          8
                  LineStart:       7
                  IsStatement:     true
                  EndDelta:        0
              Columns:
        - !InlineeLines
          HasExtraFiles:   false
          Sites:           
            - FileName:        'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
              LineNum:         26950
              Inlinee:         22767
    # The following subsections don't normally appear in PDB files, but we test
    # them anyway
    - Module:          'ObjFileSubsections'
      ObjFile:         'ObjFileSubsections'
      Subsections:
        - !StringTable
          Strings:
            - 'String1'
            - 'String2'
            - 'String3'
        - !Symbols
          Records:
            - Kind:            S_OBJNAME
              ObjNameSym:
                Signature:       0
                ObjectName:      'ObjFileSubsections'
        - !FrameData
          Frames:
            - CodeSize:           1
              FrameFunc:          'MyFunc'
              LocalSize:          2
              MaxStackSize:       3
              ParamsSize:         4
              PrologSize:         5
              RvaStart:           6
              SavedRegsSize:      7
...