We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac873a7 commit 8b6c034Copy full SHA for 8b6c034
compiler-rt/lib/hwasan/hwasan_linux.cpp
@@ -106,8 +106,7 @@ static uptr GetHighMemEnd() {
106
}
107
108
static void InitializeShadowBaseAddress(uptr shadow_size_bytes) {
109
- if (SANITIZER_CAN_USE_PREINIT_ARRAY &&
110
- flags()->fixed_shadow_base != (uptr)-1) {
+ if (!SANITIZER_ANDROID && flags()->fixed_shadow_base != (uptr)-1) {
111
__hwasan_shadow_memory_dynamic_address = flags()->fixed_shadow_base;
112
} else {
113
__hwasan_shadow_memory_dynamic_address =
0 commit comments