[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 13:07:24 PDT 2025


================
@@ -24,6 +24,9 @@ namespace __sanitizer {
 
 const char *SanitizerToolName = "SanitizerTool";
 
+const int MaxSignals = 64;
----------------
vitalybuka wrote:

constexpr 
and static


Also you don't realy need  MaxSignals
ARRAY_SIZE() is more trustworthy for users

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


More information about the llvm-commits mailing list