commit | 56fd682c0523a99991b04f8714d174492e6908ce | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Fri Jun 09 16:57:04 2023 -0700 |
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Mon Jun 12 16:18:10 2023 +0000 |
tree | c891e344b0397bde29b0a936c979185088e940e6 | |
parent | 66244e2af2e9ee54b57022eeeabb7230109a98fa [diff] |
Fix for NDK HWASan on RISC-V We can no longer assume that because ART is not compiled with HWASan, HWASan is not active. There could be instrumented JNI frames, so we need to do a runtime check for whether the HWASan runtime is loaded, via a weak symbol. This is the same we do for arm64. Bug: 276930343 Change-Id: I7a7f85fc48a2e9f510dd5421ca3a55d6f0cce2c9