summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit73f4e3f4420baa2f0a1aed49f16d74085af0a098 (patch)
tree38a600ac0017f15a8c76fd815343c6ccb974bab4 /llvm/tools/bugpoint/ExecutionDriver.cpp
parent7ca3f6feeaab0e741a2fa542c7d9bdf16642afb0 (diff)
downloadbcm5719-llvm-73f4e3f4420baa2f0a1aed49f16d74085af0a098.tar.gz
bcm5719-llvm-73f4e3f4420baa2f0a1aed49f16d74085af0a098.zip
Support remote execute for ARM.
llvm-svn: 75292
Diffstat (limited to 'llvm/tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/ExecutionDriver.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp
index 640fe2829ae..854aeb817f9 100644
--- a/llvm/tools/bugpoint/ExecutionDriver.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud