aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-05-04 20:49:26 -0700
committerReid Kleckner <rnk@google.com>2020-05-04 20:51:09 -0700
commitb7438c25eace5ecdb5ec87a23dd2a587d8ae7572 (patch)
treec6d46d5a7f85584146df6a224bb07706e2aa514f /llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
parent93f7e525f519b75bd1bd9430b600169c40b6078a (diff)
downloadllvm-b7438c25eace5ecdb5ec87a23dd2a587d8ae7572.zip
llvm-b7438c25eace5ecdb5ec87a23dd2a587d8ae7572.tar.gz
llvm-b7438c25eace5ecdb5ec87a23dd2a587d8ae7572.tar.bz2
[PDB] Move stream index tracking to GSIStreamBuilder
The GSIHashStreamBuilder doesn't need to know the stream index. Standardize the naming (Idx -> Index in public APIs).
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
index d6f7e28..d6a187e 100644
--- a/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
@@ -144,7 +144,7 @@ Error PDBFileBuilder::finalizeMsfLayout() {
if (Dbi) {
Dbi->setPublicsStreamIndex(Gsi->getPublicsStreamIndex());
Dbi->setGlobalsStreamIndex(Gsi->getGlobalsStreamIndex());
- Dbi->setSymbolRecordStreamIndex(Gsi->getRecordStreamIdx());
+ Dbi->setSymbolRecordStreamIndex(Gsi->getRecordStreamIndex());
}
}
if (Tpi) {