Skip to content

[🍒] Revert 46f86f0870cf64e649034851d149e735dfb5a14b #68437

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

@hamishknight hamishknight removed their request for review September 11, 2023 18:53
@ahoppen ahoppen removed their request for review September 11, 2023 19:11
@zoecarver zoecarver force-pushed the 5.9/revert-46f86f0870cf64e649034851d149e735dfb5a14b branch from fbe5038 to 2bd330e Compare September 11, 2023 22:38
@zoecarver
Copy link
Contributor Author

@swift-ci please test

@al45tair al45tair removed their request for review September 12, 2023 08:26
@zoecarver zoecarver merged commit 1ba0b74 into swiftlang:release/5.9 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.

2 participants