diff options
| author | 2021-06-04 09:51:28 +0100 | |
|---|---|---|
| committer | 2021-06-07 08:09:55 +0000 | |
| commit | 04c9f3a978f3e219e7d407f08f4063b3fbb53907 (patch) | |
| tree | 5360195b36cb3d2976fd1601b23441e534c6aac5 /libnativebridge/tests/CodeCacheExists_test.cpp | |
| parent | 1e7faf706563593de8e9d47bb5ef366f68dce1a2 (diff) | |
x86: Don't use the GOT to access art::Runtime::instance_.
And also get the address of art_quick_instrumentation_exit
without going through GOT.
Because ART is built with -fvisibility=protected, the
location of these symbols can be statically resolved by the
linker, so there is no need to go via the GOT.
Also rewrite macros to avoid the __x86.get_pc_thunk.bx and
use a local `call +0` instead.
Test: m test-art-host-gtest
Test: testrunner.py --host --32 --optimizing --interpreter
Bug: 112676029
Change-Id: Ib63aa71518ab7c015626a99a0bbfc587032f4a76
Diffstat (limited to 'libnativebridge/tests/CodeCacheExists_test.cpp')
0 files changed, 0 insertions, 0 deletions