summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/PDB/pdbdump-headers.test
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2016-10-21 19:43:19 +0000
committerBob Haarman <llvm@inglorion.net>2016-10-21 19:43:19 +0000
commit653baa2aaab66224c6f610dc133e8857cf53535a (patch)
tree09ce95ea21029889674451abf518c8207fc771c3 /llvm/test/DebugInfo/PDB/pdbdump-headers.test
parentda814cba0d4fb1d8afecc3cf6f215992bedc2f5b (diff)
downloadbcm5719-llvm-653baa2aaab66224c6f610dc133e8857cf53535a.tar.gz
bcm5719-llvm-653baa2aaab66224c6f610dc133e8857cf53535a.zip
[pdb] added support for dumping globals stream
Summary: This adds support for dumping the globals stream from PDB files using llvm-pdbdump, similar to the support we have for the publics stream. Reviewers: ruiu, zturner Subscribers: beanz, mgorny, modocache Differential Revision: https://reviews.llvm.org/D25801 llvm-svn: 284861
Diffstat (limited to 'llvm/test/DebugInfo/PDB/pdbdump-headers.test')
-rw-r--r--llvm/test/DebugInfo/PDB/pdbdump-headers.test14
1 files changed, 12 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/PDB/pdbdump-headers.test b/llvm/test/DebugInfo/PDB/pdbdump-headers.test
index b6f260f0552..c98e17fab19 100644
--- a/llvm/test/DebugInfo/PDB/pdbdump-headers.test
+++ b/llvm/test/DebugInfo/PDB/pdbdump-headers.test
@@ -1,5 +1,5 @@
; RUN: llvm-pdbdump raw -headers -tpi-records -tpi-record-bytes -module-syms \
-; RUN: -sym-record-bytes -publics -module-files \
+; RUN: -sym-record-bytes -globals -publics -module-files \
; RUN: -stream-summary -stream-blocks -ipi-records -ipi-record-bytes \
; RUN: -section-contribs -section-map -section-headers -line-info \
; RUN: -tpi-hash -fpo -page-stats %p/Inputs/empty.pdb | FileCheck -check-prefix=EMPTY %s
@@ -794,7 +794,12 @@
; EMPTY-NEXT: SecByteLength: 4294967295
; EMPTY-NEXT: }
; EMPTY-NEXT: ]
-; EMPTY: Publics Stream {
+; EMPTY-NEXT: Globals Stream {
+; EMPTY-NEXT: Stream number: 6
+; EMPTY-NEXT: Number of buckets: 2
+; EMPTY-NEXT: Hash Buckets: [0, 12]
+; EMPTY-NEXT: }
+; EMPTY-NEXT: Publics Stream {
; EMPTY-NEXT: Stream number: 7
; EMPTY-NEXT: SymHash: 556
; EMPTY-NEXT: AddrMap: 8
@@ -1552,6 +1557,11 @@
; ALL: SecByteLength: 4294967295
; ALL: }
; ALL: ]
+; ALL: Globals Stream {
+; ALL: Stream number: 6
+; ALL: Number of buckets: 2
+; ALL: Hash Buckets: [0, 12]
+; ALL: }
; ALL: Publics Stream {
; ALL: Stream number: 7
; ALL: SymHash: 556
OpenPOWER on IntegriCloud