Author: jdevlieghere Date: Wed Feb 6 17:49:07 2019 New Revision: 353362 URL: http://llvm.org/viewvc/llvm-project?rev=353362&view=rev Log: [Driver] Don't try to replay reproducer in the driver.
Because the macros for the SBReproducers have not been committed yet, the driver should not attempt to replay a reproducer this way. Modified: lldb/trunk/tools/driver/Driver.cpp Modified: lldb/trunk/tools/driver/Driver.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Driver.cpp?rev=353362&r1=353361&r2=353362&view=diff ============================================================================== --- lldb/trunk/tools/driver/Driver.cpp (original) +++ lldb/trunk/tools/driver/Driver.cpp Wed Feb 6 17:49:07 2019 @@ -13,7 +13,6 @@ #include "lldb/API/SBDebugger.h" #include "lldb/API/SBHostOS.h" #include "lldb/API/SBLanguageRuntime.h" -#include "lldb/API/SBReproducer.h" #include "lldb/API/SBStream.h" #include "lldb/API/SBStringList.h" @@ -913,14 +912,6 @@ main(int argc, char const *argv[]) return 1; } - if (replay) { - SBReproducer reproducer; - if (!reproducer.Replay()) { - WithColor::error() << "something went wrong running the reporducer.\n"; - } - return 0; - } - SBHostOS::ThreadCreated("<lldb.driver.main-thread>"); signal(SIGINT, sigint_handler); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits