summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-03-14 15:13:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-03-14 15:13:35 +0000
commitc32573b2d42e90ba90be24739946d2567ee28074 (patch)
tree7c010c936e8d14fceb9234370b61692446b29f2d /llvm/tools/bugpoint/ExecutionDriver.cpp
parentd85eff49a3c0e2365b3457c762d4bdb72f82800f (diff)
downloadbcm5719-llvm-c32573b2d42e90ba90be24739946d2567ee28074.tar.gz
bcm5719-llvm-c32573b2d42e90ba90be24739946d2567ee28074.zip
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
Diffstat (limited to 'llvm/tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/ExecutionDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp
index c05c8d702da..609de03db82 100644
--- a/llvm/tools/bugpoint/ExecutionDriver.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud