[PATCH] D125776: [llvm-debuginfo-analyzer] 01 - Interval tree
Carlos Alberto Enciso via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 05:37:06 PDT 2022
CarlosAlbertoEnciso added a comment.
In D125776#3820563 <https://reviews.llvm.org/D125776#3820563>, @antondaubert wrote:
> @CarlosAlbertoEnciso using stable_sort within the method sortIntervals does the trick.
There are couple of more `std::sort` instances.
/// Create the interval tree.
void create() {
...
std::sort(Points.begin(), Points.end());
...
}
static void sortIntervals(IntervalReferences &IntervalSet, Sorting Sort) {
std::sort(IntervalSet.begin(), IntervalSet.end(),
...
}
Can you replace them as well. Thanks.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125776/new/
https://reviews.llvm.org/D125776
More information about the llvm-commits
mailing list