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

Implement -fstack-clash-protection #3651

Open
JohanEngelen opened this issue Feb 2, 2021 · 1 comment
Open

Implement -fstack-clash-protection #3651

JohanEngelen opened this issue Feb 2, 2021 · 1 comment

Comments

@JohanEngelen
Copy link
Member

https://blog.llvm.org/posts/2021-01-05-stack-clash-protection/

Appears to be as simple as adding {"probe-stack"="inline-asm"} to all function attributes.

@kubo39
Copy link
Contributor

kubo39 commented Apr 5, 2021

FYI: It seems that probe-stack=inline-asm produces wrong DWARF information due to LLVM's bug. https://bugs.llvm.org/show_bug.cgi?id=49600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants