[llvm] [MSAN] Handle PtrToAddrInst in MemorySanitizer (PR #219307)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 22:15:06 PDT 2026
================
@@ -0,0 +1,14 @@
+; RUN: opt < %s -msan-check-access-address=0 -S -passes=msan 2>&1 | FileCheck %s
----------------
thurstond wrote:
I'm inclined to agree with @vitalybuka's view that "Unless we see a common pattern where reasonable code needs such pointers, I'd propose to report them."
That's especially the case since this test case needs to override `-msan-check-access-address=0` (default is on). What would a test case that doesn't override it look like?
https://github.com/llvm/llvm-project/pull/219307
More information about the llvm-commits
mailing list