[sanitizer] No THREADLOCAL in qsort and bsearch
qsort can reuse qsort_r if available. bsearch always passes key as the first comparator argument, so we can use it to wrap the original comparator. Differential Revision: https://reviews.llvm.org/D108751
Loading
Please sign in to comment