[libc-commits] [libc] [libc] Unify and extend no_sanitize attributes for strlen. (PR #161316)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Sep 30 05:51:32 PDT 2025
================
@@ -24,7 +24,8 @@ LIBC_INLINE constexpr cpp::simd_mask<char> shift_mask(cpp::simd_mask<char> m,
return cpp::bit_cast<cpp::simd_mask<char>>(r);
}
-[[clang::no_sanitize("address")]] LIBC_INLINE size_t
+__attribute__((no_sanitize("address", "hwaddress", "thread")))
+LIBC_INLINE size_t
----------------
jhuber6 wrote:
Don't modify this one, it only compiled with clang.
https://github.com/llvm/llvm-project/pull/161316
More information about the libc-commits
mailing list