aboutsummaryrefslogtreecommitdiff
path: root/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-07-10 21:39:28 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-07-10 21:39:28 +0000
commit80becf194d56524e8c75618ac57a34520f87a684 (patch)
treea4a2cbeb546cd20cc9e564fdd50310bd99b29f6d /tools/bugpoint/ExecutionDriver.cpp
parent19a2011194399849ecdf1499c7615e8276a8e68c (diff)
Support remote execute for ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--tools/bugpoint/ExecutionDriver.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp
index 640fe2829a..854aeb817f 100644
--- a/tools/bugpoint/ExecutionDriver.cpp
+++ b/tools/bugpoint/ExecutionDriver.cpp
@@ -457,9 +457,10 @@ bool BugDriver::diffProgram(const std::string &BitcodeFile,
}
FilesDifferent = true;
}
-
- // Remove the generated output.
- Output.eraseFromDisk();
+ else {
+ // Remove the generated output if there are no differences.
+ Output.eraseFromDisk();
+ }
// Remove the bitcode file if we are supposed to.
if (RemoveBitcode)