aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/DebugInfo/PDB/Inputs/debug-subsections.yaml
blob: ab199d2f21a0a9848e585cbbc4edf173d5636cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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
...