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

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

Issue 2654383002: Enable use-after-scope check on Chrome OS. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | 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 a68fc8bf674c9e9eb18adfa8be47539ed3b4c638..5b072ce5982cceb1253de1d08b26f5cfae308e54 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -200,7 +200,7 @@ config("default_sanitizer_ldflags") {
ldflags = []
if (is_asan) {
ldflags += [ "-fsanitize=address" ]
- if (!is_mac && !is_chromeos) {
+ if (!is_mac) {
ldflags += [ "-fsanitize-address-use-after-scope" ]
}
}
@@ -312,7 +312,7 @@ config("asan_flags") {
cflags = []
if (is_asan) {
cflags += [ "-fsanitize=address" ]
- if (!is_mac && !is_chromeos && !is_win) {
+ if (!is_mac && !is_win) {
cflags += [ "-fsanitize-address-use-after-scope" ]
}
if (!asan_globals) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698