]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin signals: don't try to check for async signals for "Process terminating" message
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Dec 2025 13:55:59 +0000 (14:55 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Dec 2025 13:55:59 +0000 (14:55 +0100)
Darwin can't tell sync and async apart so don't bother trying.

coregrind/m_signals.c

index 1b0200287c819c3a395fea6307c6a73bb0064a08..cb0afc9c0214a667ebadc7aa89af1f62a9001d08 100644 (file)
@@ -1887,7 +1887,10 @@ static void default_action(const vki_siginfo_t *info, ThreadId tid)
    }
 
    if ( VG_(clo_verbosity) >= 1 
+#if !defined(VGO_darwin)
+        // Can't tell apart sync and async signals on Darwin
         || (could_core && is_signal_from_kernel(tid, sigNo, info->si_code))
+#endif
         || VG_(clo_xml) ) {
       if (VG_(clo_xml)) {
          VG_(printf_xml)("<fatal_signal>\n");