Skip to content

Gardening: Migrate test suite to GH issues p. 16 #60894

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

Conversation

AnthonyLatsis
Copy link
Collaborator

No description provided.

@AnthonyLatsis AnthonyLatsis requested a review from xedin September 1, 2022 03:46
Comment on lines -11 to 15
// CHECK-LABEL: define hidden swiftcc %TSo10CFArrayRefa* @"$s25unmanaged_objc_throw_func9SR_9035_CC22returnUnmanagedCFArrays0G0VySo0H3RefaGyKF"
@objc class SR_9035_C: NSObject, SR_9035_P {
// CHECK-LABEL: define hidden swiftcc %TSo10CFArrayRefa* @"$s25unmanaged_objc_throw_func1CC22returnUnmanagedCFArrays0F0VySo0G3RefaGyKF"
@objc class C: NSObject, P {
func returnUnmanagedCFArray() throws -> Unmanaged<CFArray> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The slight divergence in the Unmanaged and CFArray result portions of the mangled signature, s0G0V → s0F0V and So0H3Refa → So0G3Refa respectively, which exercise word substitutions, are expected and due to C having one less word—none, in fact—than the old SR_9035_C.

Comment on lines -300 to +301
// CHECK-LABEL: define{{( dllexport)?}}{{( protected)?}} swiftcc void @"$s22big_types_corner_cases19sr8076_QueryHandlerPAAE13forceHandle_25query8ReturnedQyd___AA9BigStructVSgtqd___tAA0e1_F0Rd__lF"(%T22big_types_corner_cases9BigStructVSg* noalias nocapture sret({{.*}}) %0, %swift.opaque* noalias nocapture %1, %swift.opaque* noalias nocapture %2, %swift.type*{{.*}}, %swift.type*{{.*}}, i8** {{.*}}.sr8076_QueryHandler, i8** {{.*}}.sr8076_Query, %swift.opaque* noalias nocapture swiftself %3)
// CHECK-LABEL: define{{( dllexport)?}}{{( protected)?}} swiftcc void @"$s22big_types_corner_cases12QueryHandlerPAAE13forceHandle_25query8ReturnedQyd___AA9BigStructVSgtqd___tAA0E0Rd__lF"(%T22big_types_corner_cases9BigStructVSg* noalias nocapture sret({{.*}}) %0, %swift.opaque* noalias nocapture %1, %swift.opaque* noalias nocapture %2, %swift.type*{{.*}}, %swift.type*{{.*}}, i8** {{.*}}.QueryHandler, i8** {{.*}}.Query, %swift.opaque* noalias nocapture swiftself %3)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ditto these CHECK-LABEL directives.

@xedin
Copy link
Contributor

xedin commented Sep 1, 2022

Sorry I am behind with this, I will try to review at least 3 PRs tomorrow.

@AnthonyLatsis AnthonyLatsis changed the title Gardening: Migrate test suite to GH issues p. 15 Gardening: Migrate test suite to GH issues p. 16 Sep 1, 2022
@AnthonyLatsis
Copy link
Collaborator Author

Thanks, Pavel! Please don't feel obliged to keep up with the pace at which I'm spawning these PRs though.

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please test

@AnthonyLatsis AnthonyLatsis merged commit f547826 into swiftlang:main Sep 8, 2022
@AnthonyLatsis AnthonyLatsis deleted the migrate-test-suite-to-gh-issues-16 branch September 8, 2022 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants