[llvm] r303410 - Fix compilation failure.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 23:25:09 PDT 2017
Author: zturner
Date: Fri May 19 01:25:09 2017
New Revision: 303410
URL: http://llvm.org/viewvc/llvm-project?rev=303410&view=rev
Log:
Fix compilation failure.
Modified:
llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp?rev=303410&r1=303409&r2=303410&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp (original)
+++ llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp Fri May 19 01:25:09 2017
@@ -885,7 +885,7 @@ static void mergePdbs() {
DestIpi.addTypeRecord(Data, None);
});
- SmallString<64> OutFile = opts::merge::PdbOutputFile;
+ SmallString<64> OutFile(opts::merge::PdbOutputFile);
if (OutFile.empty()) {
OutFile = opts::merge::InputFilenames[0];
llvm::sys::path::replace_extension(OutFile, "merged.pdb");
More information about the llvm-commits
mailing list