Skip to content

Revert 46f86f0870cf64e649034851d149e735dfb5a14b #68435

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

Conversation

zoecarver
Copy link
Contributor

@zoecarver zoecarver commented Sep 11, 2023

Description: Importing names and building the lookup table happens when building clang modules. This means we may not have a valid clang AST (context) and the clang module loader may be null. #67865 introduced a use of the clang module loader when doing name lookup which meant we crashed when emitting the bridging header as a pch.

Scope: Any interop emitting a pch, potentially wider scope (any C, ObjC, C++ interop).
Risk: Low. This is a revert.
Testing: Unit testing (CI)
Radar: rdar://115282612

@zoecarver
Copy link
Contributor Author

@swift-ci please test

@zoecarver zoecarver force-pushed the revert-46f86f0870cf64e649034851d149e735dfb5a14b branch from 7d0d5b7 to e1a9be2 Compare September 11, 2023 22:38
@zoecarver
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

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

I don't think the revert of the test change is needed, but given it was the same PR it's probably fine to merge them together again 👍

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