summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Raw
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-05-19 18:05:58 +0000
committerRui Ueyama <ruiu@google.com>2016-05-19 18:05:58 +0000
commit0376b1a2d7b4a10d95a05bc2e11e81a6c31c67ce (patch)
treeddd64821b1d3874a26036220dc5caaf36585812e /llvm/lib/DebugInfo/PDB/Raw
parent562e19eecb0a6db548bae392bbd8242e7280ec0f (diff)
downloadbcm5719-llvm-0376b1a2d7b4a10d95a05bc2e11e81a6c31c67ce.tar.gz
bcm5719-llvm-0376b1a2d7b4a10d95a05bc2e11e81a6c31c67ce.zip
pdbdump: Rename NumberOfSymbols -> SymbolRecordStreamIndex.
Differential Revision: http://reviews.llvm.org/D20441 llvm-svn: 270088
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw')
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp
index 024e41ed9e5..7e1811daf09 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/DbiStream.cpp
@@ -53,11 +53,11 @@ struct DbiStream::HeaderInfo {
little32_t VersionSignature;
ulittle32_t VersionHeader;
ulittle32_t Age; // Should match InfoStream.
- ulittle16_t GSSyms; // Number of global symbols
+ ulittle16_t GlobalSymbolStreamIndex; // Global symbol stream #
ulittle16_t BuildNumber; // See DbiBuildNo structure.
- ulittle16_t PublicSymbolStreamIndex; // Number of public symbols
+ ulittle16_t PublicSymbolStreamIndex; // Public symbols stream #
ulittle16_t PdbDllVersion; // version of mspdbNNN.dll
- ulittle16_t SymRecords; // Number of symbols
+ ulittle16_t SymRecordStreamIndex; // Symbol records stream #
ulittle16_t PdbDllRbld; // rbld number of mspdbNNN.dll
little32_t ModiSubstreamSize; // Size of module info stream
little32_t SecContrSubstreamSize; // Size of sec. contribution stream
@@ -210,7 +210,9 @@ uint16_t DbiStream::getBuildMinorVersion() const {
uint32_t DbiStream::getPdbDllVersion() const { return Header->PdbDllVersion; }
-uint32_t DbiStream::getNumberOfSymbols() const { return Header->SymRecords; }
+uint32_t DbiStream::getSymRecordStreamIndex() const {
+ return Header->SymRecordStreamIndex;
+}
PDB_Machine DbiStream::getMachineType() const {
uint16_t Machine = Header->MachineType;
OpenPOWER on IntegriCloud