[Lldb-commits] [lldb] [lldb] Handle signals in a separate thread in the driver (PR #134956)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 9 08:00:27 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
----------------
JDevlieghere wrote:

I meant `SIGINT` (i.e. CTRl-C). 

https://github.com/llvm/llvm-project/pull/134956


More information about the lldb-commits mailing list