Skip to content

[Cherry-Pick] Allow .alt_entry symbols to pass the .cfi nesting check #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

[Cherry-Pick] Allow .alt_entry symbols to pass the .cfi nesting check #168

wants to merge 1 commit into from

Conversation

ForsakenHarmony
Copy link

A fix for the crate corosensei: Amanieu/corosensei#23

A symbol with an `N_ALT_ENTRY` attribute may be defined in the middle of
a subsection, so it is reasonable to opt them out of the
`.cfi_{start,end}proc` nesting check.

Fixes: llvm#82261
(cherry picked from commit 5b91647)
@cuviper
Copy link
Member

cuviper commented Feb 29, 2024

Since this has already been queued for backport in llvm#83336, I'd prefer to wait and get it when we next merge the release/18.x branch.

@ForsakenHarmony
Copy link
Author

@cuviper sounds good, I can create a new PR after it's merged

@ForsakenHarmony ForsakenHarmony deleted the hrmny/cherrypick-alt-entry-cfi-nesting-check-fix branch March 15, 2024 15:49
vext01 pushed a commit to vext01/llvm-project that referenced this pull request May 23, 2024
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.

3 participants