[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 07:57:42 PDT 2025


JDevlieghere wrote:

> You need to actually let the main loop handle the signals (MainLoopPosix::RegisterSignal), as it knows how to do that safely. The function is not available on windows, so you'd need to `#ifdef` it, but that should be fine because the current code is conditionalized anyway.

That makes a lot of sense. I was looking at the interface for MainLoopBase. Cool, I'll rework the PR with your input. 

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


More information about the lldb-commits mailing list