diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-07-10 21:39:28 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-07-10 21:39:28 +0000 |
commit | 80becf194d56524e8c75618ac57a34520f87a684 (patch) | |
tree | a4a2cbeb546cd20cc9e564fdd50310bd99b29f6d /tools/bugpoint/ExecutionDriver.cpp | |
parent | 19a2011194399849ecdf1499c7615e8276a8e68c (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.cpp | 7 |
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) |