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)
commit3d4b2188af8bbc0db7c4860e52363ec3fcd3fd70
tree28068b00ac10b002765ca67de2a8fcd40306351c
parent60705f77f6e4e4e8d4999286f9f12f22558589b9
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228083 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ProfileData/CoverageMappingWriter.cpp