Skip to content

[SwiftASTContext] Add missing null check in ImportType #986

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 27, 2020

Conversation

vedantk
Copy link

@vedantk vedantk commented Mar 26, 2020

Add a missing null check in ImportType. Without this, a program that
does not contain an N_AST reference pointing back to a swiftmodule it
uses can cause lldb to crash.

rdar://60734897

@vedantk vedantk requested a review from adrian-prantl March 26, 2020 22:49
@vedantk
Copy link
Author

vedantk commented Mar 26, 2020

@swift-ci test

Add a missing null check in ImportType. Without this, a program that
does not contain an N_AST reference pointing back to a swiftmodule it
uses can cause lldb to crash.

rdar://60734897
@vedantk
Copy link
Author

vedantk commented Mar 26, 2020

@swift-ci test

@vedantk vedantk merged commit 081fb8a into swiftlang:swift/master Mar 27, 2020
@vedantk vedantk deleted the eng/PR-60734897 branch March 27, 2020 17:13
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.

1 participant