[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
parent
04da89e6
Please register or sign in to comment