summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2020-08-12 19:21:15 -0700
committerPeter Collingbourne <pcc@google.com>2020-08-13 13:01:44 -0700
commit03d89a706846e85f63721d452c43fd37be05f2ac (patch)
treef0a973fd1d80ede5652a444c52678a89b15cbf5a /libc/malloc_hooks/malloc_hooks.cpp
parentb5f301eaafdc23f05fe5558fb0406a0ab04fc807 (diff)
Disable HWASAN on ifunc resolvers.
We can't have HWASAN enabled in these resolvers because they may be called before HWASAN is initialized. We were previously getting away with HWASAN being enabled on these functions because ANDROID_EXPERIMENTAL_MTE was not defined, which let the compiler simplify away any HWASAN instrumentation in the resolvers. But with this build flag enabled (which is currently the case in FVP, and eventually everywhere once the MTE kernel patches land) the resolvers end up containing an HWASAN instrumented load of the _hwcap2 field. Bug: 135772972 Change-Id: Iac79d02ddc81630c955e107eb7f78389aeb33879
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions