Index: build/config/sanitizers/sanitizers.gni |
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni |
index a0e994064e165eac3ba9e070d294636416e9893d..512b44b1491110cbeeb8415f765532c57715f54f 100644 |
--- a/build/config/sanitizers/sanitizers.gni |
+++ b/build/config/sanitizers/sanitizers.gni |
@@ -139,7 +139,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" |