[clang] [llvm] [sancov] Introduce optional callback for stack-depth tracking (PR #138323)

Kees Cook via cfe-commits cfe-commits at lists.llvm.org
Mon May 5 13:26:59 PDT 2025


================
@@ -2361,6 +2361,13 @@ def fsanitize_coverage_ignorelist : Joined<["-"], "fsanitize-coverage-ignorelist
     HelpText<"Disable sanitizer coverage instrumentation for modules and functions "
              "that match the provided special case list, even the allowed ones">,
     MarshallingInfoStringVector<CodeGenOpts<"SanitizeCoverageIgnorelistFiles">>;
+def fsanitize_coverage_stack_depth_callback_min_EQ
----------------
kees wrote:

Yeah, I didn't find any either, which is why it took me so long to even notice that stack-depth existed at all. ;) I can try to write up some docs for it, sure!

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


More information about the cfe-commits mailing list