[Lldb-commits] [lldb] r353362 - [Driver] Don't try to replay reproducer in the driver.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 6 17:49:07 PST 2019


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);




More information about the lldb-commits mailing list