Skip to content

Swift: put all the PCM traps into the same place#9920

Merged
redsun82 merged 1 commit into
mainfrom
alexdenisov/colocate-pcms
Jul 29, 2022
Merged

Swift: put all the PCM traps into the same place#9920
redsun82 merged 1 commit into
mainfrom
alexdenisov/colocate-pcms

Conversation

@AlexDenisov
Copy link
Copy Markdown
Contributor

This removes duplicated TRAPs for precompiled clang modules.

@AlexDenisov AlexDenisov requested a review from redsun82 July 29, 2022 08:21
@AlexDenisov AlexDenisov requested a review from a team as a code owner July 29, 2022 08:21
@github-actions github-actions Bot added the Swift label Jul 29, 2022
Copy link
Copy Markdown
Contributor

@redsun82 redsun82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying this out myself 😄 I would just put some more explanation in the comment, otherwise I'm ok with merging this!

Comment on lines +59 to +60
// Several modules with different name might come from .pcm (clang module) files
// In this case we want to differentiate them
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not explain why we strip the directory. We should probably say pcm files come from caches that might be located in different places, but are unambigouously identified by the base filename

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to rebase #9922 on this one any way, so we can maybe just merge this as it is and I'll update the comment in mine

@redsun82 redsun82 self-requested a review July 29, 2022 10:20
Copy link
Copy Markdown
Contributor

@redsun82 redsun82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@redsun82 redsun82 merged commit 6963394 into main Jul 29, 2022
@redsun82 redsun82 deleted the alexdenisov/colocate-pcms branch July 29, 2022 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants