Chromium Code Reviews| Index: build/config/sanitizers/sanitizers.gni |
| diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni |
| index a0e994064e165eac3ba9e070d294636416e9893d..a06b029a64febb67f2774d0b3218a45a0c19214f 100644 |
| --- a/build/config/sanitizers/sanitizers.gni |
| +++ b/build/config/sanitizers/sanitizers.gni |
| @@ -184,3 +184,8 @@ assert(!is_debug || !(is_msan || is_ubsan || is_ubsan_null || is_ubsan_vptr), |
| assert(!is_msan || (is_linux && current_cpu == "x64"), |
| "MSan currently only works on 64-bit Linux and ChromeOS builds.") |
| + |
| +# ASAN build on Windows is not working in debug mode. Intercepting memory |
| +# allocation functions is hard on Windows and not yet implemented in LLVM. |
| +assert(!is_win || !is_debug || !is_asan, |
| + "ASan on Windows doesn't work in release (set is_debug=false).") |
|
Reid Kleckner
2017/02/02 16:52:28
"doesn't work in debug" (not release)
|