InstrProf: Make CounterMappingRegions less confusing to construct
authorJustin Bogner <mail@justinbogner.com>
Tue, 3 Feb 2015 23:59:33 +0000 (23:59 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 3 Feb 2015 23:59:33 +0000 (23:59 +0000)
commitbf67bfe6bbe485cc90b74674cb3752c171bb3e4c
tree477734ab4c197e4666eddf73494bf40a6688ff74
parentf04186130264a8e463d2927d313003f8d9d47f0e
InstrProf: Make CounterMappingRegions less confusing to construct

Creating empty and expansion regions is awkward with the current API.
Expose static methods to make this simpler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228075 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/CoverageMapping.h
lib/ProfileData/CoverageMappingReader.cpp