| Index: build/config/sanitizers/sanitizers.gni
|
| diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni
|
| index c58e72f668d128ee632bb1d56f704829f9776041..a7a9707c49e1820b10377db961721aa67d6ac876 100644
|
| --- a/build/config/sanitizers/sanitizers.gni
|
| +++ b/build/config/sanitizers/sanitizers.gni
|
| @@ -142,3 +142,6 @@ prebuilt_instrumented_libraries_available =
|
| # For one-off testing, just comment this assertion out.
|
| assert(!is_debug || !(is_msan || is_ubsan || is_ubsan_null || is_ubsan_vptr),
|
| "Sanitizers should generally be used in release (set is_debug=false).")
|
| +
|
| +assert(!is_msan || (is_linux && current_cpu == "x64"),
|
| + "MSan currently only works on 64-bit Linux and ChromeOS builds.")
|
|
|