[Lldb-commits] [lldb] [lldb] Unify/improve MainLoop signal handling (PR #115197)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 15 01:43:51 PST 2024


================
@@ -384,6 +313,21 @@ void MainLoopPosix::ProcessReadObject(IOObject::WaitableHandle handle) {
     it->second(*this); // Do the work
 }
 
+void MainLoopPosix::ProcessSignals() {
+  std::vector<int> signals;
----------------
labath wrote:

It's the type that the OS signal APIs use. I think it's best to stick with that even though the values would technically fit into a `uint8_t`.

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


More information about the lldb-commits mailing list