diff options
| author | Zachary Turner <zturner@google.com> | 2016-05-24 20:31:48 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-05-24 20:31:48 +0000 |
| commit | 96e60f7573a55ccf70b29cbfd4dfab28024f0447 (patch) | |
| tree | 2b9376b1683acd651b1903492122cf67653163c2 /llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp | |
| parent | 0fcdc730adac4bd873051fb88f5396918766a725 (diff) | |
| download | bcm5719-llvm-96e60f7573a55ccf70b29cbfd4dfab28024f0447.tar.gz bcm5719-llvm-96e60f7573a55ccf70b29cbfd4dfab28024f0447.zip | |
[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
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |

