disable trace-cmp on llvm_libcxx to make it faster, see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5377

This commit is contained in:
Kostya Serebryany 2018-01-18 17:41:58 -08:00
parent 2d49182f22
commit 5ecb27726d
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
if [[ $SANITIZER = *undefined* ]]; then
CXXFLAGS="$CXXFLAGS -fsanitize=unsigned-integer-overflow -fsanitize-trap=unsigned-integer-overflow"
fi
# trace-cmp makes this target too slow.
CXXFLAGS="$CXXFLAGS -fno-sanitize-coverage=trace-cmp"
for f in $(grep -v "#" libcxx/fuzzing/RoutineNames.txt); do
cat > ${f}_fuzzer.cc <<EOF