[zorg] r310321 - [libFuzzer] use custom compile flags for libFuzzer benchmarks
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 15:56:34 PDT 2017
Author: kcc
Date: Mon Aug 7 15:56:33 2017
New Revision: 310321
URL: http://llvm.org/viewvc/llvm-project?rev=310321&view=rev
Log:
[libFuzzer] use custom compile flags for libFuzzer benchmarks
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh?rev=310321&r1=310320&r2=310321&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh Mon Aug 7 15:56:33 2017
@@ -55,6 +55,9 @@ echo @@@BUILD_STEP get fuzzer-test-suite
RunFuzzerTest() {
echo @@@BUILD_STEP test "$1" fuzzer@@@
ln -sf $LIBFUZZER .
+ CUSTOM_FLAGS="-O2 -fno-omit-frame-pointer -g -fsanitize=address -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div,pc-table"
+ export CFLAGS="$CUSTOM_FLAGS"
+ export CXXFLAGS="$CUSTOM_FLAGS"
`pwd`/fuzzer-test-suite/build-and-test.sh "$1"
}
More information about the llvm-commits
mailing list