llvm-project/llvm/lib/ProfileData
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
..
Coverage [Coverage] Make sorting criteria for CounterMappingRegions local. 2016-08-31 07:01:17 +00:00
CMakeLists.txt Move ProfileSummary to IR. 2016-05-19 21:07:12 +00:00
InstrProf.cpp [ThinLTO] Indirect call promotion fixes for promoted local functions 2016-08-29 22:46:56 +00:00
InstrProfReader.cpp [ProfileData] Clean up string handling a bit. 2016-05-29 10:31:00 +00:00
InstrProfWriter.cpp Use range algorithms instead of unpacking begin/end 2016-08-11 21:15:00 +00:00
LLVMBuild.txt Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
ProfileSummaryBuilder.cpp [ProfData] Remove global constructor from ProfileSummaryBuilder. 2016-05-27 17:38:16 +00:00
SampleProf.cpp Add FIXMEs to all derived classes of std::error_category. 2016-05-24 20:13:46 +00:00
SampleProfReader.cpp [ProfileData] Clean up string handling a bit. 2016-05-29 10:31:00 +00:00
SampleProfWriter.cpp [ProfileData] Thread unique_ptr through the summary builder to avoid leaks. 2016-05-20 09:18:37 +00:00