Skip to content
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

[🍒6.1] cherry-pick fine-grained tracing changes #77796

Merged
merged 5 commits into from
Dec 2, 2024

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Nov 21, 2024

Cherry-pick of PR against main: #77710

  • Description: these changes are integral to the feature of emitting fine-grained module trace files, therefore we need to cherry-pick to the 6.1 branch where most of the feature is already in.
  • Origination: new compiler feature of emitting the fine-grained module trace file.
  • Risk: Low.
  • Tested: Existing tests pass.
  • Radar: rdar://138776708
  • Reviewed by: Doug Gregor

…al file location provided by the build environment

To simplify post-processing of these collected ObjC message traces, this PR teaches the compiler to atomically append the content of
ObjC message trace to a file location provided by the build environment, instead of emitting multiple files.
…upplementary output paths computation

CAS support in compiler relies on supplementary paths to decide the mapping between input and output files. Therefore, we
have to compute the paths of the module ObjC trace files in this canonical place to have CAS support for
this newly added ObjC message trace files.
… files to be a more general purposed file for tracing fine-grained dependencies. NFC
…hether the emitted trace file is pretty printed
…te where the fine module trace should be emitted to. NFC
@nkcsgexi nkcsgexi requested a review from a team as a code owner November 21, 2024 23:44
@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi enabled auto-merge November 22, 2024 18:53
@nkcsgexi nkcsgexi disabled auto-merge December 2, 2024 17:14
@nkcsgexi nkcsgexi merged commit 9bbff63 into swiftlang:release/6.1 Dec 2, 2024
5 checks passed
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