Skip to content

[6.1][Runtime] Add ccAttrs to slow path in compatibility overrides #79595

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

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Feb 25, 2025

  • Explanation: The ccArgs were accidentally dropped when introducing the slow path, which causes CC mismatches for functions using custom CC.
  • Scope: Compatibility Overrides
  • Issues: rdar://145523626
  • Original PRs: [Runtime] Add ccAttrs to slow path in compatibility overrides #79594
  • Risk: Low. The change only matches the CC between fast and slow path.
  • Testing: Examined the resulting asm to ensure the correct behavior.
  • Reviewers: @mikeash

rdar://145523626

This was accidentally dropped when introducing the slow path, which causes CC mismatches for functions
using custom CC.
@drexin drexin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.1 labels Feb 25, 2025
@drexin drexin requested a review from a team as a code owner February 25, 2025 01:38
@drexin
Copy link
Contributor Author

drexin commented Feb 25, 2025

@swift-ci test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes, nice catch

@drexin
Copy link
Contributor Author

drexin commented Mar 1, 2025

@swift-ci test

@drexin drexin merged commit fc66ec8 into swiftlang:release/6.1 Mar 1, 2025
5 checks passed
@drexin drexin deleted the wip-145523626-6.1 branch March 1, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants