Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 11, 2025

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 236f733)

Co-authored-by: Pablo Galindo Salgado [email protected]

…nd aarch64 (pythonGH-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 236f733)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
@pablogsal pablogsal merged commit 5535482 into python:3.14 Jul 11, 2025
41 checks passed
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…86_64 and aarch64 (pythonGH-136500) (python#136544)

pythongh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (pythonGH-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 236f733)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants