diff options
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp b/llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp index 991e32d4ac7..e909c30e95f 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp @@ -48,9 +48,9 @@ Error InfoStreamBuilder::finalizeMsfLayout() { } Expected<std::unique_ptr<InfoStream>> -InfoStreamBuilder::build(PDBFile &File, const msf::WritableStream &Buffer) { - auto StreamData = MappedBlockStream::createIndexedStream(File.getMsfLayout(), - Buffer, StreamPDB); +InfoStreamBuilder::build(PDBFile &File) { + auto StreamData = MappedBlockStream::createIndexedStream( + File.getMsfLayout(), File.getMsfBuffer(), StreamPDB); auto Info = llvm::make_unique<InfoStream>(std::move(StreamData)); Info->Version = Ver; Info->Signature = Sig; |