Commit 1094e2eb authored by Danila Kutenin's avatar Danila Kutenin Committed by Cyndy Ishida
Browse files

[TextAPI] Make sortTargetValues strict weak ordering compliant

Second sorting was not following strict weak ordering as it
does not follow transitivity of equivalence property.

If you build llvm with libcxx at head as a standard library with -D_LIBCPP_DEBUG_STRICT_WEAK_ORDERING_CHECK and -D_LIBCPP_ENABLE_DEBUG_MODE, then tests like llvm/test/tools/llvm-readtapi/compare-right-single-inline.test.test will fail

I don't have commit rights. Danila Kutenin kudanila@yandex.ru

Reviewed By: cishida

Differential Revision: https://reviews.llvm.org/D157958
parent 845d3b54
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment