[PATCH] D18610: [PGO] Restore the correct counter value after processing a nested region in case of combined regions.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 11:25:44 PDT 2016


ikudrin created this revision.
ikudrin added reviewers: bogner, davidxl.
ikudrin added a subscriber: llvm-commits.

If we have several counters which cover the same code region, we should restore
the combined counter value for that region when return from a nested region.

http://reviews.llvm.org/D18610

Files:
  llvm/trunk/lib/ProfileData/CoverageMapping.cpp
  llvm/trunk/test/tools/llvm-cov/showTemplateInstantiations.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18610.52088.patch
Type: text/x-patch
Size: 4402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160330/0782434a/attachment.bin>


More information about the llvm-commits mailing list