summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-14 23:00:02 +0000
committerZachary Turner <zturner@google.com>2016-09-14 23:00:02 +0000
commit620961deb9bc4c0415d56bed9b2fe20391bd2ad2 (patch)
treec313b23899ec22d2871cedecf1b65b93905cfa3b /llvm/test/DebugInfo
parent31263731da2214579540198ae96c0990b315d0ed (diff)
downloadbcm5719-llvm-620961deb9bc4c0415d56bed9b2fe20391bd2ad2.tar.gz
bcm5719-llvm-620961deb9bc4c0415d56bed9b2fe20391bd2ad2.zip
[pdb] Write TPI hash values to the TPI stream.
This completes being able to write all the interesting values of a PDB TPI stream. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D24370 llvm-svn: 281555
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/PDB/pdbdump-readwrite.test8
-rw-r--r--llvm/test/DebugInfo/PDB/pdbdump-write.test4
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test b/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test
index 2570e81a14b..d378ffa5d01 100644
--- a/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test
+++ b/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test
@@ -10,12 +10,12 @@ CHECK: FileHeaders {
CHECK-NEXT: BlockSize: 4096
CHECK-NEXT: FreeBlockMap: 2
CHECK-NEXT: NumBlocks: 25
-CHECK-NEXT: NumDirectoryBytes: 136
+CHECK-NEXT: NumDirectoryBytes:
CHECK-NEXT: Unknown1: 0
-CHECK-NEXT: BlockMapAddr: 24
+CHECK-NEXT: BlockMapAddr:
CHECK-NEXT: NumDirectoryBlocks: 1
-CHECK-NEXT: DirectoryBlocks: [23]
-CHECK-NEXT: NumStreams: 17
+CHECK-NEXT: DirectoryBlocks:
+CHECK-NEXT: NumStreams:
CHECK-NEXT: }
CHECK: PDB Stream {
CHECK-NEXT: Version: 20000404
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-write.test b/llvm/test/DebugInfo/PDB/pdbdump-write.test
index 7355d2e60f5..6e29bdbc1cf 100644
--- a/llvm/test/DebugInfo/PDB/pdbdump-write.test
+++ b/llvm/test/DebugInfo/PDB/pdbdump-write.test
@@ -12,6 +12,6 @@
;
; 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 -tpi-stream %p/Inputs/empty.pdb > %t.3
-; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream %t.2 > %t.4
+; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream -no-file-headers %p/Inputs/empty.pdb > %t.3
+; RUN: llvm-pdbdump pdb2yaml -pdb-stream -tpi-stream -no-file-headers %t.2 > %t.4
; RUN: diff %t.3 %t.4
OpenPOWER on IntegriCloud