summaryrefslogtreecommitdiffstats
path: root/tests/libfuzzer/README
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libfuzzer/README')
-rw-r--r--tests/libfuzzer/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libfuzzer/README b/tests/libfuzzer/README
index 303fb9024a..33aa309670 100644
--- a/tests/libfuzzer/README
+++ b/tests/libfuzzer/README
@@ -19,7 +19,7 @@ To run a test with libFuzzer:
3. Configure Qt with
-platform linux-clang -sanitize fuzzer-no-link
or, if you are using clang 5
- -platform linux-clang -coverage trace-pc-guard
+ -platform linux-clang -- -DCMAKE_CXX_FLAGS=-fsanitize-coverage=trace-pc-guard
to add the needed code coverage instrumentation. Since speed of execution is crucial for fuzz
testing, it's recommendable to also use the switches
-release -static