Skip to content

5.3: Emit coverage mappings for all modules #32389

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
merged 1 commit into from
Sep 11, 2020

Conversation

keith
Copy link
Member

@keith keith commented Jun 15, 2020

Previously in WMO builds where IR was multithreaded only the
primary module would emit the coverage mapping leading to only the first
object file to have the __llvm_covmap section. This change emits
coverage for all modules so they are correctly reflected in the final
coverage report.

This fixes forums.swift.org/t/code-coverage-with-wmo/32561

Fixes rdar://42562585
Fixes rdar://42562307

This reverts commit 499ed05.

This changes the num-threads passed to 1 to avoid a multithreaded output
issue on windows
@keith keith requested a review from a team as a code owner June 15, 2020 19:06
@varungandhi-apple
Copy link
Contributor

@varungandhi-apple
Copy link
Contributor

@swift-ci test

@DougGregor DougGregor merged commit 1aab800 into swiftlang:release/5.3 Sep 11, 2020
@keith keith deleted the ks/cp-wmo-coverage branch September 11, 2020 23:08
@keith
Copy link
Member Author

keith commented Sep 11, 2020

Thanks!

@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants