diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-14 15:13:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-03-14 15:13:35 +0000 |
commit | 80f27b0bc81869f2321f614c703a0dbd391e1f3e (patch) | |
tree | d8bd3e3b5fc4d715efa484e1387840ef97e3bd83 /tools | |
parent | 385303b358fc0c1c7d19501e63888fb9d321a2da (diff) | |
download | llvm-80f27b0bc81869f2321f614c703a0dbd391e1f3e.tar.gz llvm-80f27b0bc81869f2321f614c703a0dbd391e1f3e.tar.bz2 llvm-80f27b0bc81869f2321f614c703a0dbd391e1f3e.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/ExecutionDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index c05c8d702d..609de03db8 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -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 |