diff options
author | Reid Kleckner <rnk@google.com> | 2020-05-04 20:49:26 -0700 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2020-05-04 20:51:09 -0700 |
commit | b7438c25eace5ecdb5ec87a23dd2a587d8ae7572 (patch) | |
tree | c6d46d5a7f85584146df6a224bb07706e2aa514f /llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp | |
parent | 93f7e525f519b75bd1bd9430b600169c40b6078a (diff) | |
download | llvm-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.cpp | 2 |
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) { |