aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2018-08-07 21:09:55 +0000
committerJim Ingham <jingham@apple.com>2018-08-07 21:09:55 +0000
commit7aa4ed9b5f124ff918d59332733b3c9ad093cf84 (patch)
treee066068378b4d4b9225e10b6cffc9b35d70928d8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentb303009b9ff36bbe558948c7ac203cba5807e1c5 (diff)
downloadllvm-7aa4ed9b5f124ff918d59332733b3c9ad093cf84.zip
llvm-7aa4ed9b5f124ff918d59332733b3c9ad093cf84.tar.gz
llvm-7aa4ed9b5f124ff918d59332733b3c9ad093cf84.tar.bz2
If a function starts with line number 0, don't try to check if a breakpoint crossed function boundaries.
clang doesn't use line number 0 (to mean artifically generated code) very often, but swift does it quite often. We were rejecting all by line breakpoints in functions that started at line 0. But that's a special marker so we can just not do this test in that case. llvm-svn: 339182
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions