aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/comp.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2021-08-26 10:25:09 -0700
committerVitaly Buka <vitalybuka@google.com>2021-08-26 16:55:06 -0700
commitf1bb30a4956f83e46406d6082e5d376ce65391e0 (patch)
tree6b21e4ebc19cd2d6208dfb89eee75b4ee4f7e374 /libcxx/include/__algorithm/comp.h
parent04da89e652450b62dc6a6706a15d92880baef843 (diff)
downloadllvm-f1bb30a4956f83e46406d6082e5d376ce65391e0.zip
llvm-f1bb30a4956f83e46406d6082e5d376ce65391e0.tar.gz
llvm-f1bb30a4956f83e46406d6082e5d376ce65391e0.tar.bz2
[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
Diffstat (limited to 'libcxx/include/__algorithm/comp.h')
0 files changed, 0 insertions, 0 deletions