https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117196
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The documentation for GCC's no_sanitize_address attribute is at least clear that it does not disable it for hwasan: "when compiling with the -fsanitize=address option." https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Common-Function-Attributes.html#index-no_005fsanitize_005faddress-function-attribute clang's documentation is ambiguous on what it does: https://clang.llvm.org/docs/AttributeReference.html#no-sanitize-address-no-address-safety-analysis ``` Use __attribute__((no_sanitize_address)) on a function or a global variable declaration to specify that address safety instrumentation (e.g. AddressSanitizer) should not be applied. ``` So this is at least also a clang bug for not having a clear definition of this attribute too.