This is an archive of the discontinued LLVM Phabricator instance.

[llvm-cov] Add -full-filenames option
AbandonedPublic

Authored by vsk on Sep 4 2015, 1:52 PM.

Details

Summary

Add an option to llvm-cov which forces it to print entire file paths when dumping file coverage reports, instead of truncated paths. The default behavior is unchanged.

Before:
$ llvm-cov report -instr-profile test.out.profdata test.out

Filename Regions Miss Cover Functions Executed

...op/coverage/test.quuux 4 1 75.00% 2 100.00%

TOTAL 4 1 75.00% 2 100.00%

After:
$ llvm-cov report -full-filenames -instr-profile test.out.profdata test.out

Filename Regions Miss Cover Functions Executed

/Users/vk/Desktop/coverage/test.quuux 4 1 75.00% 2 100.00%

TOTAL 4 1 75.00% 2 100.00%

Diff Detail

Event Timeline

vsk updated this revision to Diff 34070.Sep 4 2015, 1:52 PM
vsk retitled this revision from to [llvm-cov] Add -full-filenames option.
vsk updated this object.
vsk added a reviewer: bogner.
vsk added a subscriber: llvm-commits.
vsk abandoned this revision.Sep 14 2015, 4:30 PM