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

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

Issue 1839753003: [libfuzzer] tweaking is_ubsan_security options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding define Created 4 years, 9 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 2d6fb1e682654ad98314d4e451593c0b6987f636..6a1e32712d2a2d0a4182437a5257a63935b397e2 100644
--- a/build/config/sanitizers/sanitizers.gni
+++ b/build/config/sanitizers/sanitizers.gni
@@ -70,7 +70,7 @@ declare_args() {
# buildtools/third_party/libc++abi) instead of stdlibc++ as standard library.
# This is intended to be used for instrumented builds.
use_custom_libcxx = (is_asan && (is_linux || is_mac)) || is_tsan || is_msan ||
- is_ubsan || use_libfuzzer
+ is_ubsan || is_ubsan_security || use_libfuzzer
# Enable Link Time Optimization (output programs runs faster,
# but linking is up to 5-20x slower.
@@ -79,8 +79,8 @@ declare_args() {
use_sanitizer_coverage = use_libfuzzer
}
-using_sanitizer =
- is_asan || is_lsan || is_tsan || is_msan || is_ubsan || is_ubsan_vptr
+using_sanitizer = is_asan || is_lsan || is_tsan || is_msan || is_ubsan ||
+ is_ubsan_vptr || is_ubsan_security
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