[llvm-branch-commits] [clang] [Clang] Introduce -fsanitize=alloc-token (PR #156839)

Marco Elver via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 25 12:07:25 PDT 2025


================
@@ -447,6 +447,9 @@ class CodeGenOptions : public CodeGenOptionsBase {
 
   std::optional<double> AllowRuntimeCheckSkipHotCutoff;
 
+  /// Maximum number of allocation tokens (0 = no max).
----------------
melver wrote:

None set by frontend, so it uses the pass default and doesn't pass any arg to compiler invocation.

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


More information about the llvm-branch-commits mailing list