Skip to content

[6.0][IncludeTree] Support -frewrite-includes with include-tree #8583

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

Conversation

cachemeifyoucan
Copy link

Explanation: Add Preprocessor callbacks in clang include tree to support generating embedded header in swift binary module when caching is enabled.
Original PR: #8531
Risk: Low. Only affect experimental swift caching feature.
Testing: UnitTests
Reviewer: @benlangmuir

Add necessary PPCallbacks for include directives when the input file is
include tree so -frewrite-includes can generate the correct output.

rdar://125719747
(cherry picked from commit ad9d39a)
@cachemeifyoucan cachemeifyoucan requested review from benlangmuir and a team April 16, 2024 19:27
@cachemeifyoucan
Copy link
Author

@swift-ci please test

@cachemeifyoucan cachemeifyoucan changed the title [IncludeTree] Support -frewrite-includes with include-tree [6.0][IncludeTree] Support -frewrite-includes with include-tree Apr 16, 2024
@cachemeifyoucan cachemeifyoucan requested a review from akyrtzi April 17, 2024 18:35
@cachemeifyoucan
Copy link
Author

@nkcsgexi Can you merge for me since I don't have the permission to do that.

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.

4 participants