diff options
| author | 2023-03-20 13:42:31 +0000 | |
|---|---|---|
| committer | 2023-03-21 11:01:15 +0000 | |
| commit | 4629313e311f1a6d196780e0f25a421d1b8667e9 (patch) | |
| tree | b6a192fe1ba9838175291d5ea885afbb6e13299a /compiler/utils/assembler_test_base.h | |
| parent | c1d6121b5891cfd4ff55a6d58d5a34bba582ae39 (diff) | |
arm64: Fix CFI for method exit hook in Generic JNI.
Do not emit CFI for saved arg GPRs for `kSaveRefsAndArgs`
frames. Use explicit code to restore callee-save GPRs from
`kRefsAndArgs` frame in `art_quick_generic_jni_trampoline`,
instead of using the restore macro (skip args).
Move the `CFI_RESTORE_STATE_AND_DEF_CFA` usage earlier to
cover the exit hook slow path.
And define and use the CFI_REMEMBER_STATE macro.
Test: testrunner.py --target --optimizing
Test: testrunner.py --target -t 178-app-image-native-method
Bug: 206029744
Change-Id: I1c81e8ca7002cd562a46330773dd57c6b94ac871
Diffstat (limited to 'compiler/utils/assembler_test_base.h')
0 files changed, 0 insertions, 0 deletions