[clang] [clang-tools-extra] [llvm] [LLVM][CLANG] Update signal-handling behavior to comply with POSIX (PR #169340)

David Tenty via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 09:07:54 PST 2026


================
@@ -398,7 +398,11 @@ static void installExceptionOrSignalHandlers() {
   sigemptyset(&Handler.sa_mask);
 
   for (unsigned i = 0; i != NumSignals; ++i) {
-    sigaction(Signals[i], &Handler, &PrevActions[i]);
+    struct sigaction act;
----------------
daltenty wrote:

ditto the question about why no NeedsPOSIXUtilitySignalHandling guard here

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


More information about the cfe-commits mailing list