================ @@ -295,26 +243,17 @@ MainLoopPosix::RegisterSignal(int signo, const Callback &callback, sigaddset(&new_action.sa_mask, signo); sigset_t old_set; - g_signal_flags[signo] = 0; + // Set signal info before installing the signal handler! + g_signal_info[signo].pipe_fd = m_trigger_pipe.GetWriteFileDescriptor(); ---------------- mgorny wrote:
Do we actually expect having different `pipe_fd` for different signals? https://github.com/llvm/llvm-project/pull/115197 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits