From 96e60f7573a55ccf70b29cbfd4dfab28024f0447 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 24 May 2016 20:31:48 +0000 Subject: [llvm-pdbdump] Rework command line options. When dumping huge PDB files, too many of the options were grouped together so you would get neverending spew of output. This patch introduces more granular display options so you can only dump the fields you actually care about. llvm-svn: 270607 --- llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp') diff --git a/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp index 7e1811daf09..2cc2a73a0d1 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp @@ -188,6 +188,10 @@ uint16_t DbiStream::getPublicSymbolStreamIndex() const { return Header->PublicSymbolStreamIndex; } +uint16_t DbiStream::getGlobalSymbolStreamIndex() const { + return Header->GlobalSymbolStreamIndex; +} + bool DbiStream::isIncrementallyLinked() const { return (Header->Flags & FlagIncrementalMask) != 0; } -- cgit v1.2.3