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

Unified Diff: build/config/sanitizers/BUILD.gn

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/BUILD.gn ('k') | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sanitizers/BUILD.gn
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
index 2580a1507087100e607753f7efa37e23f70d8ddf..2d6e96e3bd29e3a11a66e2c087230fc654cf34d1 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -91,7 +91,7 @@ config("default_sanitizer_ldflags") {
if (is_msan) {
ldflags += [ "-fsanitize=memory" ]
}
- if (is_ubsan) {
+ if (is_ubsan || is_ubsan_security) {
ldflags += [ "-fsanitize=undefined" ]
}
if (is_ubsan_vptr) {
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698