| Index: build/config/sanitizers/BUILD.gn
|
| diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
|
| index 78166cbde89308d996554c48f77a64ab8be9244d..59d927f7d1c9e94492ce42262e0820c279ecf0a7 100644
|
| --- a/build/config/sanitizers/BUILD.gn
|
| +++ b/build/config/sanitizers/BUILD.gn
|
| @@ -318,9 +318,9 @@ config("asan_flags") {
|
| cflags = []
|
| if (is_asan) {
|
| cflags += [ "-fsanitize=address" ]
|
| - if (!is_mac && !is_win) {
|
| + if (!is_mac) {
|
| cflags += [ "-fsanitize-address-use-after-scope" ]
|
| - } else if (!is_win) {
|
| + } else {
|
| # https://crbug.com/708707
|
| cflags += [ "-fno-sanitize-address-use-after-scope" ]
|
| }
|
|
|