llvm-mirror/tools/bugpoint
Rafael Espindola 2331b01068 [bugpoint] Fix crash when testing for miscompilation.
Method BugDriver::performFinalCleanups(...) would delete Module object
it worked on, which was also deleted by its caller
(e.g. TestCodeGenerator(...)). Changed the code to avoid double delete
and make Module ownership slightly clearer.

Patch by Andrzej Janik.

llvm-svn: 330763
2018-04-24 20:15:27 +00:00
..
BugDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
BugDriver.h [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
bugpoint.cpp [AggressiveInstCombine] Add library initializer routine for AggressiveInstCombine library. Use it in bugpoint and llvm-opt-fuzzer to match regular InstCombine. 2018-04-24 00:05:21 +00:00
CMakeLists.txt Link to AggressiveInstCombine in a few places. Unbreaks build for me. 2018-04-24 08:40:37 +00:00
CrashDebugger.cpp [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
ExecutionDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
ExtractFunction.cpp [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
FindBugs.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
ListReducer.h Remove uses of deprecated std::random_shuffle in the LLVM code base. Reviewed as https://reviews.llvm.org/D29780. 2017-02-16 14:37:03 +00:00
LLVMBuild.txt Ensure backends available in 'opt' are also available in 'bugpoint' 2017-06-24 08:09:33 +00:00
Miscompilation.cpp [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
OptimizerDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
ToolRunner.cpp Convenience/safety fix for llvm::sys::Execute(And|No)Wait 2017-09-13 17:03:37 +00:00
ToolRunner.h bugpoint: Return Errors instead of passing around strings 2016-09-06 17:18:22 +00:00