[cfi][arm64] Change OSR entry use of LR.
The previous uses of LR here allowed overwriting it with arbitrary addresses that aren't signed. Change this so we never return to an arbitrary LR. This makes a difference even when we replace the RET with a BR, because BR is constrained by BTI, whereas RET isn't. Bug: v8:10026 Change-Id: Ibbf326ccf0cf32f6d9541c7a82108dc0373827df Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2767015Reviewed-by: Georg Neis <neis@chromium.org> Commit-Queue: Georgia Kouveli <georgia.kouveli@arm.com> Cr-Commit-Position: refs/heads/master@{#73507}
Showing
Please
register
or
sign in
to comment