This is an archive of the discontinued LLVM Phabricator instance.

Add a cc1 option called dump-coverage-mapping
ClosedPublic

Authored by arphaman on Aug 5 2014, 4:28 PM.

Details

Summary

This patch adds a new option called 'dump-coverage-mapping'. It allows us to test coverage mapping generation without relying on llvm-cov.

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 12214.Aug 5 2014, 4:28 PM
arphaman retitled this revision from to Add a cc1 option called dump-coverage-mapping.
arphaman updated this object.
arphaman edited the test plan for this revision. (Show Details)
arphaman added reviewers: bob.wilson, bogner.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: Unknown Object (MLST).
bob.wilson edited edge metadata.Aug 7 2014, 4:01 PM

This is OK to commit. The option description is currently:

"Dump the coverage mapping records that will be emitted in a translation unit”

How about changing that to the following?

"Dump the coverage mapping records, for testing”

There are some other “dump” options with similar descriptions, and I think it’s useful to suggest the purpose of the option.

arphaman closed this revision.Aug 8 2014, 4:50 PM
arphaman updated this revision to Diff 12319.

Closed by commit rL215258 (authored by @arphaman).