aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat/Magic.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-10-18 23:58:28 +0000
committerVedant Kumar <vsk@apple.com>2017-10-18 23:58:28 +0000
commit821160d5efc38b84cd51efc4d94acd3948e22873 (patch)
treec54a57109398ecdb5e33ca063a2ddf80bce2ca3c /llvm/lib/BinaryFormat/Magic.cpp
parente955f6183749410992ef358b2d49b8cae2acaae1 (diff)
downloadllvm-821160d5efc38b84cd51efc4d94acd3948e22873.zip
llvm-821160d5efc38b84cd51efc4d94acd3948e22873.tar.gz
llvm-821160d5efc38b84cd51efc4d94acd3948e22873.tar.bz2
[llvm-cov] Move LineCoverageIterator to libCoverage. NFC.
LineCoverageIterator makes it easy for clients of coverage data to determine line execution counts for a file or function. The coverage iteration logic is tricky enough that it really pays not to have multiple copies of it. Hopefully having just one implementation in LLVM will make the iteration logic easier to test, reuse, and update. This commit is NFC but I've added a unit test to go along with it just because it's easy to do now. llvm-svn: 316141
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions