[lldb] Remove reproducer_handler from the driver
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 3 Mar 2022 20:56:31 +0000 (12:56 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 3 Mar 2022 21:22:39 +0000 (13:22 -0800)
lldb/tools/driver/Driver.cpp

index 4540f06..80c2ec6 100644 (file)
@@ -689,14 +689,6 @@ void sigcont_handler(int signo) {
   signal(signo, sigcont_handler);
 }
 
-void reproducer_handler(void *finalize_cmd) {
-  if (SBReproducer::Generate()) {
-    int result = std::system(static_cast<const char *>(finalize_cmd));
-    (void)result;
-    fflush(stdout);
-  }
-}
-
 static void printHelp(LLDBOptTable &table, llvm::StringRef tool_name) {
   std::string usage_str = tool_name.str() + " [options]";
   table.printHelp(llvm::outs(), usage_str.c_str(), "LLDB", false);