[compiler-rt] [sanitizer] Add cloak_sanitizer_signal_handlers runtime option (PR #162746)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 17:28:13 PDT 2025
================
@@ -24,6 +24,9 @@ namespace __sanitizer {
const char *SanitizerToolName = "SanitizerTool";
+const int MaxSignals = 64;
----------------
thurstond wrote:
The number of signals is technically dynamic, but 64 is commonly the max (https://www.chromium.org/chromium-os/developer-library/reference/linux-constants/signals/).
The constants SIGILL and SIGSEGV vary between platforms (https://venam.net/blog/unix/2016/10/21/unix-signals.html).
https://github.com/llvm/llvm-project/pull/162746
More information about the llvm-commits
mailing list