llvm-project/llvm/unittests/ProfileData
Vedant Kumar 80fbb85555 [Coverage] Use the most-recent completed region count (PR35437)
This is a fix for the coverage segment builder.

If multiple regions must be popped off the active stack at once, and
more than one of them end at the same location, emit a segment using the
count from the most-recent completed region.

Fixes PR35437, rdar://35760630

Testing: invoked llvm-cov on a stage2 build of clang, additional unit
tests, check-profile

llvm-svn: 319391
2017-11-30 00:28:23 +00:00
..
CMakeLists.txt ProfData: Fix some unchecked Errors in unit tests 2017-07-07 21:02:59 +00:00
CoverageMappingTest.cpp [Coverage] Use the most-recent completed region count (PR35437) 2017-11-30 00:28:23 +00:00
InstrProfTest.cpp InstrProf: Fix unit test which accidentally used a duplicate name 2017-07-10 21:44:43 +00:00
SampleProfTest.cpp Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00