[llvm] [mlir] [mlir][tosa] Use optnone for compliance initialization under HWAsan (PR #226310)
Walter Lee via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 16:52:06 PDT 2026
================
@@ -611,7 +611,7 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
/// \macro LLVM_HWADDRESS_SANITIZER_BUILD
/// Whether LLVM itself is built with HWAddressSanitizer instrumentation.
-#if __has_feature(hwaddress_sanitizer)
+#if __has_feature(hwaddress_sanitizer) || defined(__SANITIZE__HWADDRESS__)
----------------
googlewalt wrote:
Reverted.
https://github.com/llvm/llvm-project/pull/226310
More information about the llvm-commits
mailing list