[PATCH] D12647: [llvm-cov] Add -full-filenames option
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 13:52:10 PDT 2015
vsk created this revision.
vsk added a reviewer: bogner.
vsk added a subscriber: llvm-commits.
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%
http://reviews.llvm.org/D12647
Files:
tools/llvm-cov/CodeCoverage.cpp
tools/llvm-cov/CoverageReport.cpp
tools/llvm-cov/CoverageViewOptions.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12647.34070.patch
Type: text/x-patch
Size: 4214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150904/d6b7f17b/attachment.bin>
More information about the llvm-commits
mailing list