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

llvm: Don't emit extra debug instructions for dbg_var_val in naked functions #21070

Closed
wants to merge 2 commits into from

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Aug 13, 2024

We shouldn't assume that a naked function has a valid stack pointer.

While doing this, I also ran into the workaround for llvm/llvm-project#56484 and figured I'd try removing it since the bug should be fixed since LLVM 15.

@alexrp
Copy link
Member Author

alexrp commented Aug 15, 2024

Folding this into #21056 as it won't work without the comptime workaround otherwise.

@alexrp alexrp closed this Aug 15, 2024
@alexrp alexrp deleted the llvm-naked-dbg branch August 15, 2024 04:18
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.

1 participant