[llvm] r203931 - Fix a bug introduced during the transition to PathV2.
Rafael Espindola
rafael.espindola at gmail.com
Fri Mar 14 08:13:35 PDT 2014
Author: rafael
Date: Fri Mar 14 10:13:35 2014
New Revision: 203931
URL: http://llvm.org/viewvc/llvm-project?rev=203931&view=rev
Log:
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.
Modified:
llvm/trunk/tools/bugpoint/ExecutionDriver.cpp
Modified: llvm/trunk/tools/bugpoint/ExecutionDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/ExecutionDriver.cpp?rev=203931&r1=203930&r2=203931&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/ExecutionDriver.cpp (original)
+++ llvm/trunk/tools/bugpoint/ExecutionDriver.cpp Fri Mar 14 10:13:35 2014
@@ -404,7 +404,7 @@ std::string BugDriver::compileSharedObje
// Remove the intermediate C file
sys::fs::remove(OutputFile);
- return "./" + SharedObjectFile;
+ return SharedObjectFile;
}
/// createReferenceFile - calls compileProgram and then records the output
More information about the llvm-commits
mailing list