1; RUN: llvm-pdbutil yaml2pdb -pdb=%t.pdb %p/Inputs/debug-subsections.yaml 2; RUN: llvm-pdbutil pdb2yaml -all -no-file-headers %t.pdb | FileCheck --check-prefix=YAML %s 3 4YAML: Modules: 5YAML-NEXT: - Module: Foo.obj 6YAML-NEXT: ObjFile: Foo.obj 7YAML-NEXT: Subsections: 8YAML-NEXT: - !CrossModuleExports 9YAML-NEXT: Exports: 10YAML-NEXT: - LocalId: 4852 11YAML-NEXT: GlobalId: 9283 12YAML-NEXT: - LocalId: 2147487875 13YAML-NEXT: GlobalId: 9123 14YAML: - Module: Bar.obj 15YAML-NEXT: ObjFile: Bar.obj 16YAML-NEXT: Subsections: 17YAML-NEXT: - !CrossModuleExports 18YAML-NEXT: Exports: 19YAML-NEXT: - LocalId: 4265 20YAML-NEXT: GlobalId: 6097 21YAML-NEXT: - LocalId: 4297 22YAML-NEXT: GlobalId: 4677 23YAML-NEXT: - !CrossModuleImports 24YAML-NEXT: Imports: 25YAML-NEXT: - Module: Foo.obj 26YAML-NEXT: Imports: [ 4852, 2147487875 ] 27YAML: - Module: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' 28YAML-NEXT: ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj' 29YAML-NEXT: SourceFiles: 30YAML-NEXT: - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' 31YAML-NEXT: Subsections: 32YAML-NEXT: - !FileChecksums 33YAML-NEXT: Checksums: 34YAML-NEXT: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' 35YAML-NEXT: Kind: MD5 36YAML-NEXT: Checksum: A0A5BD0D3ECD93FC29D19DE826FBF4BC 37YAML-NEXT: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h' 38YAML-NEXT: Kind: MD5 39YAML-NEXT: Checksum: 1154D69F5B2650196E1FC34F4134E56B 40YAML-NEXT: - !Lines 41YAML-NEXT: CodeSize: 10 42YAML-NEXT: Flags: [ ] 43YAML-NEXT: RelocOffset: 100016 44YAML-NEXT: RelocSegment: 1 45YAML-NEXT: Blocks: 46YAML-NEXT: - FileName: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp' 47YAML-NEXT: Lines: 48YAML-NEXT: - Offset: 0 49YAML-NEXT: LineStart: 5 50YAML-NEXT: IsStatement: true 51YAML-NEXT: EndDelta: 0 52YAML-NEXT: - Offset: 3 53YAML-NEXT: LineStart: 6 54YAML-NEXT: IsStatement: true 55YAML-NEXT: EndDelta: 0 56YAML-NEXT: - Offset: 8 57YAML-NEXT: LineStart: 7 58YAML-NEXT: IsStatement: true 59YAML-NEXT: EndDelta: 0 60YAML-NEXT: Columns: 61YAML-NEXT: - !InlineeLines 62YAML-NEXT: HasExtraFiles: false 63YAML-NEXT: Sites: 64YAML-NEXT: - FileName: 'f:\dd\externalapis\windows\10\sdk\inc\winerror.h' 65YAML-NEXT: LineNum: 26950 66YAML-NEXT: Inlinee: 22767 67