[PATCH] D18787: [Coverage] Prevent false instantiations detection in case of macro expansions.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 10:04:19 PDT 2016


ikudrin updated the summary for this revision.
ikudrin updated this revision to Diff 53748.
ikudrin added a comment.

- Added the motivation case to the tests for `llvm-cov`.
- Added comments.
- Updated `findMainViewFileID(File, Function)` according to Justin's comment.


http://reviews.llvm.org/D18787

Files:
  llvm/trunk/lib/ProfileData/CoverageMapping.cpp
  llvm/trunk/test/tools/llvm-cov/Inputs/prevent_false_instantiations.covmapping
  llvm/trunk/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp
  llvm/trunk/test/tools/llvm-cov/Inputs/prevent_false_instantiations.proftext
  llvm/trunk/test/tools/llvm-cov/lit.local.cfg
  llvm/trunk/test/tools/llvm-cov/prevent_false_instantiations.h
  llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18787.53748.patch
Type: text/x-patch
Size: 6105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160414/afb5315a/attachment.bin>


More information about the llvm-commits mailing list