[compiler-rt] [sanitizer] Add cloak_sanitizer_signal_handlers runtime option (PR #162746)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 17:16:57 PDT 2025
================
@@ -24,6 +24,9 @@ namespace __sanitizer {
const char *SanitizerToolName = "SanitizerTool";
+const int MaxSignals = 64;
----------------
vitalybuka wrote:
```
max(
MaybeInstallSigaction(SIGSEGV, handler);
MaybeInstallSigaction(SIGBUS, handler);
MaybeInstallSigaction(SIGABRT, handler);
MaybeInstallSigaction(SIGFPE, handler);
MaybeInstallSigaction(SIGILL, handler);
MaybeInstallSigaction(SIGTRAP, handler);
) + 1
```
https://github.com/llvm/llvm-project/pull/162746
More information about the llvm-commits
mailing list