[Lldb-commits] [lldb] 4212a57 - [lldb] Remove reproducer_handler from the driver
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 3 13:22:57 PST 2022
Author: Jonas Devlieghere
Date: 2022-03-03T13:22:39-08:00
New Revision: 4212a57a54d99c339c11448efda4991ea150b027
URL: https://github.com/llvm/llvm-project/commit/4212a57a54d99c339c11448efda4991ea150b027
DIFF: https://github.com/llvm/llvm-project/commit/4212a57a54d99c339c11448efda4991ea150b027.diff
LOG: [lldb] Remove reproducer_handler from the driver
Added:
Modified:
lldb/tools/driver/Driver.cpp
Removed:
################################################################################
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index 4540f06bebdb4..80c2ec67314b9 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<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);
More information about the lldb-commits
mailing list