Fix a bug introduced during the transition to PathV2.

sys::fs::createUniqueFile returns an absolute path, so MakeSharedObject does
too and we don't need to add a './' prefix.

Patch by Jon McLachlan.

llvm-svn: 203931
This commit is contained in:
Rafael Espindola 2014-03-14 15:13:35 +00:00
parent d85eff49a3
commit c32573b2d4
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ std::string BugDriver::compileSharedObject(const std::string &BitcodeFile,
// Remove the intermediate C file
sys::fs::remove(OutputFile);
return "./" + SharedObjectFile;
return SharedObjectFile;
}
/// createReferenceFile - calls compileProgram and then records the output