[lldb] Remove reproducer_handler from the driver

This commit is contained in:
Jonas Devlieghere 2022-03-03 12:56:31 -08:00
parent 8b3b66ea63
commit 4212a57a54
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D

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