2017-06-10 04:46:17 +08:00
|
|
|
RUN: llvm-pdbutil pdb2yaml -modules -module-files -dbi-stream \
|
2017-06-09 07:39:33 +08:00
|
|
|
RUN: -pdb-stream -string-table -tpi-stream -stream-directory \
|
2016-09-10 01:46:17 +08:00
|
|
|
RUN: -stream-metadata %p/Inputs/empty.pdb > %t.1
|
2017-06-10 04:46:17 +08:00
|
|
|
RUN: llvm-pdbutil yaml2pdb -pdb=%t.2 %t.1
|
2016-08-04 07:54:39 +08:00
|
|
|
|
2017-06-16 04:55:51 +08:00
|
|
|
RUN: llvm-pdbutil raw -headers -string-table -tpi-records %p/Inputs/empty.pdb | FileCheck %s
|
|
|
|
RUN: llvm-pdbutil raw -headers -string-table -tpi-records %t.2 | FileCheck %s
|
2016-08-04 07:54:39 +08:00
|
|
|
|
2017-06-16 04:55:51 +08:00
|
|
|
CHECK: FileHeaders {
|
|
|
|
CHECK-NEXT: BlockSize: 4096
|
|
|
|
CHECK-NEXT: FreeBlockMap:
|
|
|
|
CHECK-NEXT: NumBlocks:
|
|
|
|
CHECK-NEXT: NumDirectoryBytes:
|
|
|
|
CHECK-NEXT: Unknown1: 0
|
|
|
|
CHECK-NEXT: BlockMapAddr:
|
|
|
|
CHECK-NEXT: NumDirectoryBlocks: 1
|
|
|
|
CHECK-NEXT: DirectoryBlocks:
|
|
|
|
CHECK-NEXT: NumStreams:
|
|
|
|
CHECK-NEXT: }
|
|
|
|
CHECK: String Table {
|
|
|
|
CHECK-DAG: 'd:\src\llvm\test\debuginfo\pdb\inputs\predefined c++ attributes (compiler internal)'
|
|
|
|
CHECK-DAG: 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
|
|
|
|
CHECK-DAG: '$T0 $ebp = $eip $T0 4 + ^ = $ebp $T0 ^ = $esp $T0 8 + = '
|
|
|
|
CHECK-NEXT: }
|
|
|
|
CHECK: PDB Stream {
|
|
|
|
CHECK-NEXT: Version: 20000404
|
|
|
|
CHECK-NEXT: Signature: 0x54E507E2
|
|
|
|
CHECK-NEXT: Age: 1
|
|
|
|
CHECK-NEXT: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
|
|
|
|
CHECK-NEXT: Features: 0x1
|
|
|
|
CHECK-NEXT: Named Streams {
|
|
|
|
CHECK: /names:
|
|
|
|
CHECK: }
|
|
|
|
CHECK-NEXT: }
|
|
|
|
CHECK: Type Info Stream (TPI) {
|
|
|
|
CHECK-NEXT: TPI Version: 20040203
|
|
|
|
CHECK-NEXT: Record count: 75
|
|
|
|
CHECK: DBI Stream {
|
|
|
|
CHECK-NEXT: Dbi Version: 19990903
|
|
|
|
CHECK-NEXT: Age: 1
|
|
|
|
CHECK-NEXT: Incremental Linking: Yes
|
|
|
|
CHECK-NEXT: Has CTypes: No
|
|
|
|
CHECK-NEXT: Is Stripped: No
|
|
|
|
CHECK-NEXT: Machine Type: x86
|
|
|
|
CHECK-NEXT: Symbol Record Stream Index:
|
|
|
|
CHECK-NEXT: Public Symbol Stream Index:
|
|
|
|
CHECK-NEXT: Global Symbol Stream Index:
|
|
|
|
CHECK-NEXT: Toolchain Version: 12.0
|
|
|
|
CHECK-NEXT: mspdb120.dll version: 12.0.31101
|
|
|
|
CHECK-NEXT: }
|