-
Notifications
You must be signed in to change notification settings - Fork 13.3k
-Zharden-sls flag (target modifier) added to enable mitigation against straight line speculation (SLS) #136597
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
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
…t straight line speculation (SLS)
Some changes occurred in compiler/rustc_codegen_gcc |
First commit adds retpoline feature, but PR descriptions says about sls. |
Yes, first commit is in another PR #135927. |
Marking this as blocked on #135927 |
I filed an MCP for this flag: rust-lang/compiler-team#869 |
☔ The latest upstream changes (presumably #141232) made this pull request unmergeable. Please resolve the merge conflicts. |
Flag (target modifier) to mitigate against straight line speculation (SLS).
-Zharden-sls=[none|all|return|indirect-jmp]
.The flag enables the related features:
+harden-sls-ijmp,+harden-sls-ret
.The flag is tracked as a target modifier to be equal between linked crates.