[PATCH] D71780: [msan] Check qsort input.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 26 13:10:15 PST 2019
vitalybuka accepted this revision.
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:9673
+ COMMON_INTERCEPTOR_UNPOISON_PARAM(2);
+ (i % 2) ? compar(p, q) : compar(q, p);
+ }
----------------
maybe just:
```
compar(p, q);
compar(q, p);
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71780/new/
https://reviews.llvm.org/D71780
More information about the llvm-commits
mailing list