[PATCH] D36813: [Coverage] Build sorted and unique segments

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 17:43:16 PDT 2017


vsk updated this revision to Diff 111592.
vsk marked 2 inline comments as done.
vsk added a comment.

- Address two comments by @ikudrin (split out an NFC change, emit better segments when handling 0-length regions).
- I tested the updated patch in the same way, and was able to prepare a coverage report for clang without issue.


https://reviews.llvm.org/D36813

Files:
  include/llvm/ProfileData/Coverage/CoverageMapping.h
  lib/ProfileData/Coverage/CoverageMapping.cpp
  test/tools/llvm-cov/deferred-region.cpp
  test/tools/llvm-cov/showHighlightedRanges.cpp
  unittests/ProfileData/CoverageMappingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36813.111592.patch
Type: text/x-patch
Size: 21814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170818/971826de/attachment.bin>


More information about the llvm-commits mailing list