SIGN IN SIGN UP

[3.14] gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (GH-136500) (#136544)

gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (GH-136500)

This commit fixes the following problems:

* The x86_64 trampolines are not preserving frame pointers
* The hardcoded offsets to the code segment from the FDE only worked properly for x64_64
* The CIE data was not following conventions of aarch64
* The eh_frame for aarch64 was not fully correct
(cherry picked from commit 236f733d8ffb3d587e1167fa0a0248c24512e7fd)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
M
Miss Islington (bot) committed
5535482d2a53ae18859095f569ac95afed3cb095
Parent: a464c4e
Committed by GitHub <noreply@github.com> on 7/11/2025, 2:06:19 PM