mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 05:35:11 +00:00
0895032e6e
Now you run llvm-pdbutil dump <options>. This is a followup after having renamed the tool, whereas before raw was obviously just the style of dumping, whereas now "dump" is the action to perform with the "util". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306055 91177308-0d34-0410-b5e6-96231b3b80d8
36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
RUN: llvm-pdbutil pdb2yaml -modules -module-files -dbi-stream \
|
|
RUN: -pdb-stream -string-table -tpi-stream -stream-directory \
|
|
RUN: -stream-metadata %p/Inputs/empty.pdb > %t.1
|
|
RUN: llvm-pdbutil yaml2pdb -pdb=%t.2 %t.1
|
|
|
|
RUN: llvm-pdbutil dump -summary -string-table -types %p/Inputs/empty.pdb | FileCheck %s
|
|
RUN: llvm-pdbutil dump -summary -string-table -types %t.2 | FileCheck %s
|
|
|
|
|
|
CHECK: Summary
|
|
CHECK-NEXT: ============================================================
|
|
CHECK-NEXT: Block Size: 4096
|
|
CHECK-NEXT: Number of blocks:
|
|
CHECK-NEXT: Number of streams:
|
|
CHECK-NEXT: Signature: 1424295906
|
|
CHECK-NEXT: Age: 1
|
|
CHECK-NEXT: GUID: {0B355641-86A0-A249-896F-9988FAE52FF0}
|
|
CHECK-NEXT: Features: 0x1
|
|
CHECK-NEXT: Has Debug Info: true
|
|
CHECK-NEXT: Has Types: true
|
|
CHECK-NEXT: Has IDs: true
|
|
CHECK-NEXT: Has Globals:
|
|
CHECK-NEXT: Has Publics:
|
|
CHECK-NEXT: Is incrementally linked: true
|
|
CHECK-NEXT: Has conflicting types: false
|
|
CHECK-NEXT: Is stripped: false
|
|
CHECK: String Table
|
|
CHECK-NEXT: ============================================================
|
|
CHECK-NEXT: ID | String
|
|
CHECK-NEXT: {{.*}} | 'd:\src\llvm\test\debuginfo\pdb\inputs\predefined c++ attributes (compiler internal)'
|
|
CHECK-NEXT: {{.*}} | 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
|
|
CHECK-NEXT: {{.*}} | '$T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = '
|
|
CHECK: Types (TPI Stream)
|
|
CHECK-NEXT: ============================================================
|
|
CHECK-NEXT: Showing 75 records
|