Skip to content

[RemoteInspection] Ignore MetadataSource records with NULL source pointer. #73200

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
Apr 25, 2024

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Apr 23, 2024

We'd crash on a call to getKind(). Ignore them instead by returning false from isMetadataSourceReady. If this causes getClosureContextInfo to fail to make forward progress, then it will in turn fail and return nullptr to its caller.

rdar://126866747

…nter.

We'd crash on a call to getKind(). Ignore them instead by returning false from isMetadataSourceReady. If this causes getClosureContextInfo to fail to make forward progress, then it will in turn fail and return nullptr to its caller.

rdar://126866747
@mikeash mikeash requested review from al45tair and tbkka April 23, 2024 16:05
@al45tair
Copy link
Contributor

@swift-ci Please smoke test

@mikeash
Copy link
Contributor Author

mikeash commented Apr 24, 2024

Windows testing encountered a seemingly unrelated "access is denied" error in the ModuleInterface/swift_build_sdk_interfaces/find-modules.test-sh test. Let'st try that one again....

@mikeash
Copy link
Contributor Author

mikeash commented Apr 24, 2024

@swift-ci please test windows platform

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