InstrProf: Use a stable sort when reading coverage regions
authorJustin Bogner <mail@justinbogner.com>
Wed, 4 Feb 2015 00:12:18 +0000 (00:12 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 4 Feb 2015 00:12:18 +0000 (00:12 +0000)
commit70e0c09e6c0d19d8eba4740d20bf58ae9274bc47
tree0da5a8dc46a8fbc57d2712b2e1fc0140c081dfb6
parent585316cb415d9104792ae1afb31eb8f3e1e35418
InstrProf: Use a stable sort when reading coverage regions

Keeping regions that start at the same location in insertion order
makes this logic easier to test / more deterministic.

llvm-svn: 228083
llvm/lib/ProfileData/CoverageMappingWriter.cpp