[llvm-commits] CVS: llvm/tools/bugpoint/ExecutionDriver.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Oct 18 16:04:00 PDT 2003


Changes in directory llvm/tools/bugpoint:

ExecutionDriver.cpp updated: 1.27 -> 1.28

---
Log message:

Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place


---
Diffs of the changes:  (+4 -0)

Index: llvm/tools/bugpoint/ExecutionDriver.cpp
diff -u llvm/tools/bugpoint/ExecutionDriver.cpp:1.27 llvm/tools/bugpoint/ExecutionDriver.cpp:1.28
--- llvm/tools/bugpoint/ExecutionDriver.cpp:1.27	Sat Oct 18 15:30:48 2003
+++ llvm/tools/bugpoint/ExecutionDriver.cpp	Sat Oct 18 16:02:51 2003
@@ -195,7 +195,11 @@
     }
     FilesDifferent = true;
   }
+  
+  // Remove the generated output.
+  removeFile(Output);
 
+  // Remove the bytecode file if we are supposed to.
   if (RemoveBytecode) removeFile(BytecodeFile);
   return FilesDifferent;
 }





More information about the llvm-commits mailing list