Skip to content

[Caching] Adopt -finclude-tree-preserve-pch-path to fix -gmodules with #73014

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

benlangmuir
Copy link
Contributor

This fixes -gmodules when caching by adopting the new clang -cc1 option -finclude-tree-preserve-pch-path. -gmodules is required to make debugging work when examining types that come from clang modules or bridging headers, but was previously being disabled by clang's caching support.

rdar://126370706

Requires swiftlang/llvm-project#8570

This fixes -gmodules when caching by adopting the new clang -cc1 option
-finclude-tree-preserve-pch-path. -gmodules is required to make
debugging work when examining types that come from clang modules or
bridging headers, but was previously being disabled by clang's caching
support.

rdar://126370706
@benlangmuir
Copy link
Contributor Author

swiftlang/llvm-project#8570
@swift-ci please smoke test

@benlangmuir benlangmuir merged commit fc225a1 into swiftlang:main Apr 15, 2024
@benlangmuir benlangmuir deleted the eng/blanmuir/finclude-tree-preserve-pch-path branch April 15, 2024 14:58
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