Fix compilation failure.

llvm-svn: 303410
This commit is contained in:
Zachary Turner 2017-05-19 06:25:09 +00:00
parent 1dfcf8d92c
commit bdc16ed072
1 changed files with 1 additions and 1 deletions

View File

@ -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");