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

No branch protection metadata unless enabled #93516

Merged
merged 1 commit into from
Feb 27, 2022

Commits on Feb 19, 2022

  1. No branch protection metadata unless enabled

    Even if we emit metadata disabling branch protection, this metadata may
    conflict with other modules (e.g. during LTO) that have different branch
    protection metadata set.
    
    This is an unstable flag and feature, so ideally the flag not being
    specified should act as if the feature wasn't implemented in the first
    place.
    
    Additionally this PR also ensures we emit an error if
    `-Zbranch-protection` is set on targets other than the supported
    aarch64. For now the error is being output from codegen, but ideally it
    should be moved to earlier in the pipeline before stabilization.
    nagisa committed Feb 19, 2022
    Configuration menu
    Copy the full SHA
    b995dc9 View commit details
    Browse the repository at this point in the history