[clang] [compiler-rt] [ASan] Document define to disable container overflow checks at compile time. (PR #163468)

Paddy McDonald via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 15:13:11 PDT 2025


================
@@ -514,11 +514,15 @@ ErrorGeneric::ErrorGeneric(u32 tid, uptr pc_, uptr bp_, uptr sp_, uptr addr,
 }
 
 static void PrintContainerOverflowHint() {
-  Printf("HINT: if you don't care about these errors you may set "
-         "ASAN_OPTIONS=detect_container_overflow=0.\n"
-         "If you suspect a false positive see also: "
-         "https://github.com/google/sanitizers/wiki/"
-         "AddressSanitizerContainerOverflow.\n");
+  Printf(
+      "HINT: if you don't care about these errors you may set "
+      "ASAN_OPTIONS=detect_container_overflow=0.\n"
+      "If supported by the container library pass "
----------------
padriff wrote:

done

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


More information about the cfe-commits mailing list