[compiler-rt] [llvm] [ASan] Correctly handle vectorized pointer sub/cmp for `invalid-pointer-pair` (PR #213546)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 15 10:57:05 PDT 2026
================
@@ -0,0 +1,29 @@
+// RUN: %clangxx_asan -O2 %s -o %t -mllvm -asan-detect-invalid-pointer-pair
+// RUN: %env_asan_opts=detect_invalid_pointer_pairs=1:halt_on_error=0 %run %t 2>&1 | FileCheck %s
----------------
thurstond wrote:
Thanks for updating the test!
Please do upload a separate PR with this test case (with `// XFAIL: * and // REQUIRES: asserts`) to repro the issue (this fix PR would then remove the XFAIL, proving the fix works).
https://github.com/llvm/llvm-project/pull/213546
More information about the llvm-commits
mailing list