Skip to content

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 a team and benlangmuir 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

4 participants