Skip to content
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

Cherry-pick "[MC][AsmParser] Diagnose improperly nested .cfi frames" #161

Closed

Conversation

tmandry
Copy link
Member

@tmandry tmandry commented Dec 23, 2023

Cherry pick of d506aa4. This fixes llvm#72802, which manifests in the Rust build as failure to build compiler_builtins when targeting macos in some configurations.

This showed up when simplifying some large testcase, where the cfi directives
became out of sync with the proc's they enclose.

Now restricted to platforms that support .subsections_via_symbols.

This reverts commit 797b68c.

Fixes: llvm#72802

Differential revision: https://reviews.llvm.org/D153167

rdar://111459507
@nikic
Copy link

nikic commented Dec 23, 2023

I'm confused. It looks like this adds an extra error, how can this fix a build failure?

@tmandry
Copy link
Member Author

tmandry commented Dec 27, 2023

Closing in favor of #162.

@tmandry tmandry closed this Dec 27, 2023
@tmandry tmandry deleted the fix-llvm-72802 branch December 27, 2023 16:29
vext01 added a commit to vext01/llvm-project that referenced this pull request May 20, 2024
Ignore `exact` keywords for binary operations.
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