Skip to content

Commit

Permalink
Revert "Emit coverage mappings for all modules"
Browse files Browse the repository at this point in the history
  • Loading branch information
compnerd authored Jun 10, 2020
1 parent 41758c0 commit 499ed05
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
7 changes: 2 additions & 5 deletions lib/IRGen/GenDecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,11 +1105,8 @@ void IRGenerator::emitGlobalTopLevel(llvm::StringSet<> *linkerDirectives) {
IGM->emitSILDifferentiabilityWitness(&dw);
}

// Emit code coverage mapping data for all modules
for (auto Iter : *this) {
IRGenModule *IGM = Iter.second;
IGM->emitCoverageMapping();
}
// Emit code coverage mapping data.
PrimaryIGM->emitCoverageMapping();

for (auto Iter : *this) {
IRGenModule *IGM = Iter.second;
Expand Down
1 change: 0 additions & 1 deletion test/Profiler/Inputs/coverage_num_threads1.swift

This file was deleted.

1 change: 0 additions & 1 deletion test/Profiler/Inputs/coverage_num_threads2.swift

This file was deleted.

12 changes: 0 additions & 12 deletions test/Profiler/coverage_num_threads.swift

This file was deleted.

0 comments on commit 499ed05

Please sign in to comment.