Index: build/secondary/third_party/crashpad/crashpad/util/BUILD.gn |
diff --git a/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn b/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn |
index 8c01267126da4fdf768acccc3a1616954659b39a..d29076f4b06588b2568ac6ffada086081a01cb80 100644 |
--- a/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn |
+++ b/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn |
@@ -228,7 +228,9 @@ source_set("util") { |
"/wd4577", # 'noexcept' used with no exception handling mode specified. |
] |
- # TODO(GYP) UseSafeExceptionHandlers masm rule. |
+ if (current_cpu == "x86") { |
+ asmflags = [ "/safeseh" ] |
+ } |
} else if (is_mac) { |
sources += get_target_outputs(":mig") |
deps += [ ":mig" ] |