Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 8682ae5dd71ea406d80f41fae7541446bc61a6c8..ce48fedc86fc74d752a67a4d38179083b157d884 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -255,7 +255,7 @@ config("default_sanitizer_flags") { |
ubsan_blacklist_path = |
rebase_path("//tools/ubsan/blacklist.txt", root_build_dir) |
cflags += [ |
- "-fsanitize=signed-integer-overflow", |
+ "-fsanitize=signed-integer-overflow,shift", |
"-fsanitize-blacklist=$ubsan_blacklist_path", |
] |
} |