Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2289)

Unified Diff: build/config/sanitizers/sanitizers.gni

Issue 2219163002: [libFuzzer][AFL] Enable fuzzer builds with SanitizerCoverage and without A/M/UbSan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sanitizers/sanitizers.gni
diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni
index 16117223110eed8bbd8c2669aeae1e05267de8ad..3b62d031524a7311b8f32718b701b7f8f0bad1ca 100644
--- a/build/config/sanitizers/sanitizers.gni
+++ b/build/config/sanitizers/sanitizers.gni
@@ -122,8 +122,9 @@ if (use_afl && sanitizer_coverage_flags == "") {
sanitizer_coverage_flags = "edge,indirect-calls,8bit-counters"
}
-using_sanitizer = is_asan || is_lsan || is_tsan || is_msan || is_ubsan ||
- is_ubsan_null || is_ubsan_vptr || is_ubsan_security
+using_sanitizer =
+ is_asan || is_lsan || is_tsan || is_msan || is_ubsan || is_ubsan_null ||
+ is_ubsan_vptr || is_ubsan_security || use_sanitizer_coverage
assert(!using_sanitizer || is_clang,
"Sanitizers (is_*san) require setting is_clang = true in 'gn args'")
« no previous file with comments | « build/config/sanitizers/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698