Skip to content

[6.2][cherrypick] Detect OpenBSD opt-out of BTCFI. #1878

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

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

3405691582
Copy link
Member

  • Explanation:

On the swift side, we added a new build flavor in swiftlang/swift#80389 to opt-out of BTCFI as a way of working around swiftlang/swift#80059. We communicate this to swift-driver via the frontend with FrontendTargetInfo.

This is required in 6.2 to properly parallel the changes made on the swift side, even if builds default to BTCFI disabled.

  • Scope:

Changes are limited to OpenBSD.

  • Issues:

See swiftlang/swift#80059 and the OpenBSD port issue in swiftlang/swift#78437

  • Original PRs:

#1857

  • Risk:

Minimal, since changes are scoped only to OpenBSD.

  • Testing:

CI has ran on the original prs. OpenBSD nobtcfi-flavored builds require this change.

  • Reviewers:

@DougGregor

On the swift side, we added a new build flavor in swiftlang/swift#80389
to opt-out of BTCFI as a way of working around swiftlang/swift#80059.
We communicate this to swift-driver via the frontend with
FrontendTargetInfo.
@3405691582 3405691582 requested a review from a team as a code owner April 19, 2025 01:42
@DougGregor
Copy link
Member

@swift-ci please test

@DougGregor DougGregor enabled auto-merge April 19, 2025 02:11
@3405691582
Copy link
Member Author

@swift-ci please test.

4 similar comments
@3405691582
Copy link
Member Author

@swift-ci please test.

@3405691582
Copy link
Member Author

@swift-ci please test.

@3405691582
Copy link
Member Author

@swift-ci please test.

@3405691582
Copy link
Member Author

@swift-ci please test.

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.

2 participants