]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 Jul 2025 14:06:19 +0000 (16:06 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 14:06:19 +0000 (14:06 +0000)
commit5535482d2a53ae18859095f569ac95afed3cb095
tree0288cf40eb25c1dc7bd596b4718b58d1c2173342
parenta464c4e2e844db0dc09bad4b29d2e765f8fbe9ab
[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>
Misc/NEWS.d/next/Core_and_Builtins/2025-07-11-13-45-48.gh-issue-136541.uZ_-Ju.rst [new file with mode: 0644]
Python/asm_trampoline.S
Python/perf_jit_trampoline.c
Python/perf_trampoline.c