[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / DebugInfo / PDB / tpi-bytes.test
blob2345d3aa21ba97575df04e5e0fc363128d80b5ff
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
6 TYPE:                           Type (TPI) Records
7 TYPE-NEXT: ============================================================
8 TYPE-NEXT:   Type 0x1002 (
9 TYPE-NEXT:     12050: 4A000312 02150300 01006170 6172746D 656E7400 02150300 02007369 6E676C65  |J.........apartment.......single|
10 TYPE-NEXT:     12070: 00F3F2F1 02150300 03006672 656500F1 02150300 04006E65 75747261 6C00F2F1  |..........free........neutral...|
11 TYPE-NEXT:     12090: 02150300 0500626F 746800F1                                               |......both..|
12 TYPE-NEXT:   )
14 ID:                          Index (IPI) Records
15 ID-NEXT: ============================================================
16 ID-NEXT:   Type 0x1007 (
17 ID-NEXT:     140C4: 2E000516 00000000 643A5C73 72635C6C 6C766D5C 74657374 5C446562 7567496E  |........d:\src\llvm\test\DebugIn|
18 ID-NEXT:     140E4: 666F5C50 44425C49 6E707574 7300F2F1                                      |fo\PDB\Inputs...|
19 ID-NEXT:   )
21 INVALID-TYPE:                           Type (TPI) Records
22 INVALID-TYPE-NEXT: ============================================================
23 INVALID-TYPE-NEXT: Error: TypeIndex 0x2000 does not exist
25 INVALID-ID:                           Index (IPI) Records
26 INVALID-ID-NEXT: ============================================================
27 INVALID-ID-NEXT: Error: TypeIndex 0x2000 does not exist