summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--tools/bugpoint/ExecutionDriver.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp
index 936f54682d..142faeef7d 100644
--- a/tools/bugpoint/ExecutionDriver.cpp
+++ b/tools/bugpoint/ExecutionDriver.cpp
@@ -281,7 +281,7 @@ std::string BugDriver::compileSharedObject(const std::string &BytecodeFile) {
exit(1);
// Remove the intermediate C file
- OutputCFile.destroy();
+ OutputCFile.eraseFromDisk();
return "./" + SharedObjectFile;
}
@@ -302,9 +302,9 @@ bool BugDriver::diffProgram(const std::string &BytecodeFile,
// If we're checking the program exit code, assume anything nonzero is bad.
if (CheckProgramExitCode && ProgramExitedNonzero) {
- Output.destroy();
+ Output.eraseFromDisk();
if (RemoveBytecode)
- sys::Path(BytecodeFile).destroy();
+ sys::Path(BytecodeFile).eraseFromDisk();
return true;
}
@@ -321,11 +321,11 @@ bool BugDriver::diffProgram(const std::string &BytecodeFile,
}
// Remove the generated output.
- Output.destroy();
+ Output.eraseFromDisk();
// Remove the bytecode file if we are supposed to.
if (RemoveBytecode)
- sys::Path(BytecodeFile).destroy();
+ sys::Path(BytecodeFile).eraseFromDisk();
return FilesDifferent;
}