llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) <details> <summary>Changes</summary> When `CheckPoisonRecords` fails to find a record, it's often due to the history buffer being too small rather than a functional error in the logic. --- Full diff: https://github.com/llvm/llvm-project/pull/195669.diff 1 Files Affected: - (modified) compiler-rt/lib/asan/asan_errors.cpp (+1-1) ``````````diff diff --git a/compiler-rt/lib/asan/asan_errors.cpp b/compiler-rt/lib/asan/asan_errors.cpp index 0b84ea6f6967a..0432cb46529ed 100644 --- a/compiler-rt/lib/asan/asan_errors.cpp +++ b/compiler-rt/lib/asan/asan_errors.cpp @@ -682,7 +682,7 @@ static void CheckPoisonRecords(uptr addr) { if (poison_stack.size > 0) poison_stack.Print(); } else { - Printf("ERROR: no matching poison tracking record found.\n"); + Printf("NOTE: no matching poison tracking record found.\n"); Printf("Try a larger value for ASAN_OPTIONS=poison_history_size=<size>.\n"); } } `````````` </details> https://github.com/llvm/llvm-project/pull/195669 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
