Skip to content

[RemoteInspection] Add TypeInfoProvider to ReflectionContext function #73713

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

augusto2112
Copy link
Contributor

Explanation: Pass in a TypeInfoProvider parameter to computeUnalignedFieldStartOffset because it calls getClassInstanceTypeInfo which might need the external type info provider to find clang types.
Risk: Low, this is part of Remote Mirrors and doesn't affect the compiler. Also the change is simply threading a parameter which was simply set as null.
Testing: Added an lldb test.
Issue: rdar://128141491
Reviewer: @adrian-prantl
Original PR: #73684

Pass in a TypeInfoProvider parameter to computeUnalignedFieldStartOffset
because it calls getClassInstanceTypeInfo which might need the external
type info provider to find clang types.

rdar://128141491
(cherry picked from commit 03b422b)
@augusto2112 augusto2112 requested a review from a team as a code owner May 17, 2024 17:29
@augusto2112 augusto2112 requested a review from adrian-prantl May 17, 2024 17:29
@augusto2112
Copy link
Contributor Author

@adrian-prantl adrian-prantl merged commit a91a884 into swiftlang:release/6.0 May 17, 2024
5 checks passed
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