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

Add support for control-flow protection #93439

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Commits on Feb 14, 2022

  1. Add support for control-flow protection

    This change adds a flag for configuring control-flow protection in the
    LLVM backend. In Clang, this flag is exposed as `-fcf-protection` with
    options `none|branch|return|full`. This convention is followed for
    `rustc`, though as a codegen option: `rustc -Z
    cf-protection=<none|branch|return|full>`.
    
    Co-authored-by: BlackHoleFox <[email protected]>
    abrown and BlackHoleFox committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    8d6c973 View commit details
    Browse the repository at this point in the history