[Lldb-commits] [lldb] [lldb] Handle signals in a separate thread in the driver (PR #134956)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 9 01:40:52 PDT 2025
================
@@ -824,5 +834,11 @@ int main(int argc, char const *argv[]) {
future.wait();
}
+ // Stop the signal handler thread. Do this after calling SBDebugger::Terminate
+ // so that impatient users can send a SIGSTOP if they don't want to wait for
----------------
labath wrote:
SIGSTOP will not terminate the process. Maybe you meant SIGQUIT (aka `^\`)? But that won't actually matter here because we don't have a handler for that signal, so I'm not sure what you're trying to achieve here..
https://github.com/llvm/llvm-project/pull/134956
More information about the lldb-commits
mailing list