Index: build/config/win/BUILD.gn |
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn |
index 7945cfc10066c4a1d15bdc649d37ab67b84ea6d7..eeb1cab25a6fb6413a663d730450f396ded89e23 100644 |
--- a/build/config/win/BUILD.gn |
+++ b/build/config/win/BUILD.gn |
@@ -36,6 +36,10 @@ |
"/GS", # Enable buffer security checking. |
"/FS", # Preserve previous PDB behavior. |
"/bigobj", # Some of our files are bigger than the regular limits. |
+ |
+ # Tell the compiler to crash on failures. This is undocumented |
+ # and unsupported but very handy. |
+ "/d2FastFail", |
] |
# Force C/C++ mode for the given GN detected file type. This is necessary |