diff options
author | Vedant Kumar <vsk@apple.com> | 2017-10-16 23:47:10 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-10-16 23:47:10 +0000 |
commit | 58548c30daf80c77a07b78954054246d4072dc07 (patch) | |
tree | ebc8d46f65fd9566fae9a2139d0f4697a98e5120 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | 1fada3b90ac49a40685ba039552c167f33e251cb (diff) | |
download | bcm5719-llvm-58548c30daf80c77a07b78954054246d4072dc07.tar.gz bcm5719-llvm-58548c30daf80c77a07b78954054246d4072dc07.zip |
[llvm-cov] Remove workaround in line execution count calculation (PR34962)
Gap areas make it possible to correctly determine when to use counts
from deferred regions. Before gap areas were introduced, llvm-cov needed
to use a heuristic to do this: it ignored counts from segments that
start, but do not end, on a line. This heuristic breaks down on a simple
example (see PR34962).
This patch removes the heuristic and picks counts from any region entry
segment which isn't a gap area.
llvm-svn: 315960
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions