1; RUN: llvm-pdbutil bytes -type=0x1002 %p/Inputs/empty.pdb | FileCheck --check-prefix=TYPE %s 2; RUN: llvm-pdbutil bytes -id=0x1007 %p/Inputs/empty.pdb | FileCheck --check-prefix=ID %s 3; RUN: llvm-pdbutil bytes -type=0x2000 %p/Inputs/empty.pdb | FileCheck --check-prefix=INVALID-TYPE %s 4; RUN: llvm-pdbutil bytes -id=0x2000 %p/Inputs/empty.pdb | FileCheck --check-prefix=INVALID-ID %s 5 6TYPE: Type (TPI) Records 7TYPE-NEXT: ============================================================ 8TYPE-NEXT: Type 0x1002 ( 9TYPE-NEXT: 12050: 4A000312 02150300 01006170 6172746D 656E7400 02150300 02007369 6E676C65 |J.........apartment.......single| 10TYPE-NEXT: 12070: 00F3F2F1 02150300 03006672 656500F1 02150300 04006E65 75747261 6C00F2F1 |..........free........neutral...| 11TYPE-NEXT: 12090: 02150300 0500626F 746800F1 |......both..| 12TYPE-NEXT: ) 13 14ID: Index (IPI) Records 15ID-NEXT: ============================================================ 16ID-NEXT: Type 0x1007 ( 17ID-NEXT: 140C4: 2E000516 00000000 643A5C73 72635C6C 6C766D5C 74657374 5C446562 7567496E |........d:\src\llvm\test\DebugIn| 18ID-NEXT: 140E4: 666F5C50 44425C49 6E707574 7300F2F1 |fo\PDB\Inputs...| 19ID-NEXT: ) 20 21INVALID-TYPE: Type (TPI) Records 22INVALID-TYPE-NEXT: ============================================================ 23INVALID-TYPE-NEXT: Error: TypeIndex 0x2000 does not exist 24 25INVALID-ID: Index (IPI) Records 26INVALID-ID-NEXT: ============================================================ 27INVALID-ID-NEXT: Error: TypeIndex 0x2000 does not exist 28