[compiler-rt] Revert "[hwasan] Add fixed_shadow_base flag" (PR #95435)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 16:47:32 PDT 2024
fmayer wrote:
I think that's incorrect:
```
#ifndef SANITIZER_CAN_USE_PREINIT_ARRAY
#if (SANITIZER_LINUX || SANITIZER_FUCHSIA || SANITIZER_NETBSD) && !defined(PIC)
#define SANITIZER_CAN_USE_PREINIT_ARRAY 1
// Before Solaris 11.4, .preinit_array is fully supported only with GNU ld.
// FIXME: Check for those conditions.
```
ANDROID is Linnux and does in fact _support_ preinit array, we just don't use it for HWASan.
https://github.com/llvm/llvm-project/pull/95435
More information about the llvm-commits
mailing list