RangeDataVector: Support custom sorting for D63540
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Jan 2020 14:14:38 +0000 (15:14 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 10 Jan 2020 14:14:38 +0000 (15:14 +0100)
commit2f2f41e12c5201b600d887d22ce5cb4afd2ff594
tree290c9be7d788b983bb792a1507526ce16bca2ebe
parent4569f63ae1cb520ce28f08f4800dfbcd5f255eed
RangeDataVector: Support custom sorting for D63540

As suggested by @labath extended RangeDataVector so that user can provide
custom sorting of the Entry's `data' field for D63540.
        https://reviews.llvm.org/D63540

RangeData functions were used just by RangeDataVector (=after I removed them
LLDB still builds fine) which no longer uses them so I removed them.

Differential revision: https://reviews.llvm.org/D72460
lldb/include/lldb/Utility/RangeMap.h
lldb/unittests/Utility/RangeMapTest.cpp