From bdc16ed072333420623c56efc160c684f1521984 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 19 May 2017 06:25:09 +0000 Subject: [PATCH] Fix compilation failure. llvm-svn: 303410 --- llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp index 49a0dae5c27d..75e91645c9c7 100644 --- a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -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");