[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / DebugInfo / PDB / pdbdump-readwrite.test
blobb3ec3ce4ee6a106dd76c609b5a2f7b6f8b83ce31
1 RUN: llvm-pdbutil pdb2yaml -modules -module-files -dbi-stream \
2 RUN:   -pdb-stream -string-table -tpi-stream -stream-directory \
3 RUN:   -stream-metadata %p/Inputs/empty.pdb > %t.1
4 RUN: llvm-pdbutil yaml2pdb -pdb=%t.2 %t.1
6 RUN: llvm-pdbutil dump -summary -string-table -types %p/Inputs/empty.pdb | FileCheck %s
7 RUN: llvm-pdbutil dump -summary -string-table -types %t.2 | FileCheck %s
10 CHECK:                                Summary
11 CHECK-NEXT: ============================================================
12 CHECK-NEXT:  Block Size: 4096
13 CHECK-NEXT:  Number of blocks:
14 CHECK-NEXT:  Number of streams:
15 CHECK-NEXT:  Signature: 1424295906
16 CHECK-NEXT:  Age: 1
17 CHECK-NEXT:  GUID: {0B355641-86A0-A249-896F-9988FAE52FF0}
18 CHECK-NEXT:  Features: 0x1
19 CHECK-NEXT:  Has Debug Info: true
20 CHECK-NEXT:  Has Types: true
21 CHECK-NEXT:  Has IDs: true
22 CHECK-NEXT:  Has Globals:
23 CHECK-NEXT:  Has Publics:
24 CHECK-NEXT:  Is incrementally linked: true
25 CHECK-NEXT:  Has conflicting types: false
26 CHECK-NEXT:  Is stripped: false
27 CHECK:                             String Table
28 CHECK-NEXT: ============================================================
29 CHECK-NEXT:   ID    | String
30 CHECK-NEXT:  {{.*}} | 'd:\src\llvm\test\debuginfo\pdb\inputs\predefined c++ attributes (compiler internal)'
31 CHECK-NEXT:  {{.*}} | 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
32 CHECK-NEXT:  {{.*}} | '$T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = '
33 CHECK:                          Types (TPI Stream)
34 CHECK-NEXT: ============================================================
35 CHECK-NEXT:  Showing 75 records