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

Kees Cook via llvm-commits llvm-commits at lists.llvm.org
Tue May 6 18:56:57 PDT 2025


================
@@ -158,6 +158,7 @@ struct SanitizerCoverageOptions {
   bool PCTable = false;
   bool NoPrune = false;
   bool StackDepth = false;
+  int StackDepthCallbackMin = 0;
----------------
kees wrote:

Yeah, I wasn't sure if I should keep it with the other StackDepth var. I've moved it now.

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


More information about the llvm-commits mailing list