diff options
author | Vladimir Marko <vmarko@google.com> | 2021-01-25 09:58:21 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2021-01-27 09:12:37 +0000 |
commit | 853367b85d8e58fa7de8b8b7bc9810da9147fcd8 (patch) | |
tree | c25bc624819d5e09cd0a81123d6cbbe9f29c0b60 /test/MultiDexModifiedSecondary | |
parent | c39af9409ed4c8dd711be606f758a9b378cd0ee3 (diff) |
arm: Fix and improve JNI frame entry/exit.
Add workaround for vixl emitting UNPREDICTABLE instruction
in frame exit. Pop LR directly to PC when possible and emit
previously missing CFI data otherwise.
For frames that just save LR and align the stack with one
more unused word, make the frame entry a single PUSH (by
arbitrarily storing r3) and make exit a single POP (by
arbitrarily restoring r3 which we are allowed to clobber
as it's a caller-save register not used for return value).
Test: m test-art-host-gtest
Test: run-gtests.sh
Test: testrunner.py --target --32 --optimizing
Bug: 178048807
Change-Id: I8752711bfd4bcfc2c1cfa371108de393df00aeb8
Diffstat (limited to 'test/MultiDexModifiedSecondary')
0 files changed, 0 insertions, 0 deletions