[PATCH] D20286: [Coverage] Fix an issue where improper coverage mapping data could be loaded for an inline function.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 07:45:31 PDT 2016


ikudrin updated this revision to Diff 57787.
ikudrin added a comment.

- Rebased to the top
- Extracted the code of filling the mapping records collection, including duplicate resolution logic, into a separate function.


http://reviews.llvm.org/D20286

Files:
  include/llvm/ProfileData/Coverage/CoverageMappingReader.h
  lib/ProfileData/Coverage/CoverageMappingReader.cpp
  test/tools/llvm-cov/Inputs/prefer_used_to_unused.covmapping
  test/tools/llvm-cov/Inputs/prefer_used_to_unused.cpp
  test/tools/llvm-cov/Inputs/prefer_used_to_unused.proftext
  test/tools/llvm-cov/prefer_used_to_unused.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20286.57787.patch
Type: text/x-patch
Size: 9535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160519/54ebe531/attachment.bin>


More information about the llvm-commits mailing list