llvm-project/llvm/lib/ProfileData/Coverage
Igor Kudrin f3c8a9cfbb [Coverage] Make sorting criteria for CounterMappingRegions local.
Move the comparison function into the only place there it is used,
i.e. the call to std::stable_sort in CoverageMappingWriter::write().

Add sorting by region kinds as it is required to ensure stable order
in our tests and to simplify D23987.

Differential Revision: https://reviews.llvm.org/D24034

llvm-svn: 280198
2016-08-31 07:01:17 +00:00
..
CMakeLists.txt
CoverageMapping.cpp [Coverage] Mark a few more methods const (NFC) 2016-07-15 01:19:33 +00:00
CoverageMappingReader.cpp Revert "[Coverage] Clarify ownership of a MemoryBuffer in the reader (NFC)" 2016-06-29 05:33:24 +00:00
CoverageMappingWriter.cpp [Coverage] Make sorting criteria for CounterMappingRegions local. 2016-08-31 07:01:17 +00:00
LLVMBuild.txt