diff options
author | Vedant Kumar <vsk@apple.com> | 2017-11-30 00:28:23 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-11-30 00:28:23 +0000 |
commit | 80fbb85555b51fbb8c500ec13756490400191865 (patch) | |
tree | 130551fa07fa381c0b9bf9f87c973f1068c2d4cd /llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp | |
parent | 9e3175bb6b2c9d3d9bbb46f64c6a4e416d794e57 (diff) | |
download | bcm5719-llvm-80fbb85555b51fbb8c500ec13756490400191865.tar.gz bcm5719-llvm-80fbb85555b51fbb8c500ec13756490400191865.zip |
[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
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp')
0 files changed, 0 insertions, 0 deletions