Skip to content

[🍒] Revert 46f86f0870cf64e649034851d149e735dfb5a14b #68436

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
Original PR: #68435

@zoecarver
Copy link
Contributor Author

@swift-ci please test

@zoecarver zoecarver force-pushed the 5.10/revert-46f86f0870cf64e649034851d149e735dfb5a14b branch from cb99321 to 1f20c87 Compare September 11, 2023 22:37
@zoecarver
Copy link
Contributor Author

@swift-ci please test

@zoecarver zoecarver merged commit ed0772e into swiftlang:release/5.10 Sep 12, 2023
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.

3 participants