Index: build/config/sanitizers/sanitizers.gni |
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni |
index dbf90531c92b4c54d7d629a31e66572aafbb186c..2a91c3de95cde056e4dd66ce8a76574b65d56218 100644 |
--- a/build/config/sanitizers/sanitizers.gni |
+++ b/build/config/sanitizers/sanitizers.gni |
@@ -140,7 +140,7 @@ declare_args() { |
asan_globals = !is_mac |
} |
-if (use_afl && sanitizer_coverage_flags == "") { |
+if ((use_afl || use_libfuzzer) && sanitizer_coverage_flags == "") { |
sanitizer_coverage_flags = "trace-pc-guard" |
} else if (use_sanitizer_coverage && sanitizer_coverage_flags == "") { |
sanitizer_coverage_flags = "edge,indirect-calls,8bit-counters" |