From 5ecb27726ddde102950aa90f7bd4ce621e94ef1e Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 18 Jan 2018 17:41:58 -0800 Subject: [PATCH] disable trace-cmp on llvm_libcxx to make it faster, see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5377 --- projects/llvm_libcxx/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/llvm_libcxx/build.sh b/projects/llvm_libcxx/build.sh index 8121900ac..13c28cc4c 100755 --- a/projects/llvm_libcxx/build.sh +++ b/projects/llvm_libcxx/build.sh @@ -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 <