From 653baa2aaab66224c6f610dc133e8857cf53535a Mon Sep 17 00:00:00 2001 From: Bob Haarman Date: Fri, 21 Oct 2016 19:43:19 +0000 Subject: [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 --- llvm/test/DebugInfo/PDB/pdbdump-headers.test | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'llvm/test/DebugInfo/PDB/pdbdump-headers.test') 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 -- cgit v1.2.3