[compiler-rt] [asan] Add experimental 'track_poison' flag (PR #133175)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 1 15:15:32 PDT 2025


================
@@ -623,6 +662,10 @@ void ErrorGeneric::Print() {
     PrintContainerOverflowHint();
   ReportErrorSummary(bug_descr, &stack);
   PrintShadowMemoryForAddress(addr);
+
+  // This is an experimental flag, hence we don't make a special handler.
+  if (flags()->track_poison > 0)
+    CheckPoisonRecords(addr);
----------------
thurstond wrote:

Moved

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


More information about the llvm-commits mailing list