From: Jonas Devlieghere Date: Thu, 3 Mar 2022 20:56:31 +0000 (-0800) Subject: [lldb] Remove reproducer_handler from the driver X-Git-Tag: upstream/15.0.7~14676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4212a57a54d99c339c11448efda4991ea150b027;p=platform%2Fupstream%2Fllvm.git [lldb] Remove reproducer_handler from the driver --- 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);