From 4212a57a54d99c339c11448efda4991ea150b027 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 3 Mar 2022 12:56:31 -0800 Subject: [PATCH] [lldb] Remove reproducer_handler from the driver --- lldb/tools/driver/Driver.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp index 4540f06..80c2ec6 100644 --- a/lldb/tools/driver/Driver.cpp +++ b/lldb/tools/driver/Driver.cpp @@ -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(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); -- 2.7.4