diff options
Diffstat (limited to 'llvm/test/DebugInfo/PDB')
| -rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-readwrite.test | 15 | ||||
| -rw-r--r-- | llvm/test/DebugInfo/PDB/pdbdump-write.test | 6 |
2 files changed, 12 insertions, 9 deletions
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test b/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test index 1af2a8d2fea..2570e81a14b 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test @@ -1,10 +1,10 @@ RUN: llvm-pdbdump pdb2yaml -dbi-module-info -dbi-module-source-info \ -RUN: -dbi-stream -pdb-stream -stream-directory -stream-metadata \ -RUN: %p/Inputs/empty.pdb > %t.1 +RUN: -dbi-stream -pdb-stream -tpi-stream -stream-directory \ +RUN: -stream-metadata %p/Inputs/empty.pdb > %t.1 RUN: llvm-pdbdump yaml2pdb -pdb=%t.2 %t.1 -RUN: llvm-pdbdump raw -headers %p/Inputs/empty.pdb | FileCheck %s -RUN: llvm-pdbdump raw -headers %t.2 | FileCheck %s +RUN: llvm-pdbdump raw -headers -tpi-records %p/Inputs/empty.pdb | FileCheck %s +RUN: llvm-pdbdump raw -headers -tpi-records %t.2 | FileCheck %s CHECK: FileHeaders { CHECK-NEXT: BlockSize: 4096 @@ -17,13 +17,16 @@ CHECK-NEXT: NumDirectoryBlocks: 1 CHECK-NEXT: DirectoryBlocks: [23] CHECK-NEXT: NumStreams: 17 CHECK-NEXT: } -CHECK-NEXT: PDB Stream { +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: } -CHECK-NEXT: DBI Stream { +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 diff --git a/llvm/test/DebugInfo/PDB/pdbdump-write.test b/llvm/test/DebugInfo/PDB/pdbdump-write.test index 09358932941..7355d2e60f5 100644 --- a/llvm/test/DebugInfo/PDB/pdbdump-write.test +++ b/llvm/test/DebugInfo/PDB/pdbdump-write.test @@ -10,8 +10,8 @@ ; stream metadata, since the layout of the MSF file might be different ; (for example if we don't write the entire stream) ; -; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream %p/Inputs/empty.pdb > %t.1 +; RUN: llvm-pdbdump pdb2yaml -stream-metadata -stream-directory -pdb-stream -tpi-stream %p/Inputs/empty.pdb > %t.1 ; RUN: llvm-pdbdump yaml2pdb -pdb=%t.2 %t.1 -; RUN: llvm-pdbdump pdb2yaml -pdb-stream %p/Inputs/empty.pdb > %t.3 -; RUN: llvm-pdbdump pdb2yaml -pdb-stream %t.2 > %t.4 +; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream %p/Inputs/empty.pdb > %t.3 +; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream %t.2 > %t.4 ; RUN: diff %t.3 %t.4 |

