diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-05 09:32:10 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-05 09:32:10 +0000 |
commit | 86c006a971eb6fab6bd4923ff7ec1c0bc9c28f74 (patch) | |
tree | f25de9e525ab1dc0333f3f3d13e774fb797bd5fe /tools/bugpoint/BugDriver.cpp | |
parent | 0802a1e1e8e1b9746996f2b1441a63378b83c354 (diff) |
Add save-temps option to bugpoint to keep temporary stuff.
Patch by Sandeep Patel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index 0934206fde..c3cc389a28 100644 --- a/tools/bugpoint/BugDriver.cpp +++ b/tools/bugpoint/BugDriver.cpp @@ -196,7 +196,7 @@ bool BugDriver::run() { // Make sure the reference output file gets deleted on exit from this // function, if appropriate. sys::Path ROF(ReferenceOutputFile); - FileRemover RemoverInstance(ROF, CreatedOutput); + FileRemover RemoverInstance(ROF, CreatedOutput && !SaveTemps); // Diff the output of the raw program against the reference output. If it // matches, then we assume there is a miscompilation bug and try to |