aboutsummaryrefslogtreecommitdiff
path: root/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--tools/bugpoint/ExecutionDriver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp
index 8044f504a4..43017a6199 100644
--- a/tools/bugpoint/ExecutionDriver.cpp
+++ b/tools/bugpoint/ExecutionDriver.cpp
@@ -195,7 +195,8 @@ std::string BugDriver::executeProgram(std::string OutputFile,
}
// Remove the temporary bytecode file when we are done.
- FileRemover BytecodeFileRemover(sys::Path(BytecodeFile), CreatedBytecode);
+ sys::Path BytecodePath (BytecodeFile);
+ FileRemover BytecodeFileRemover(BytecodePath, CreatedBytecode);
if (OutputFile.empty()) OutputFile = "bugpoint-execution-output";