aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2020-10-14 12:09:06 +0200
committerMichaël Zasso <targos@protonmail.com>2020-10-18 20:18:03 +0200
commitc55f661551d7368778ae6f9adc584467151bce8a (patch)
treea13ea02e0ee2721f90192810fab9446a1e94f638 /tools
parent6cfba9f7f6a54c539f10966e87dff70ba80ab6c6 (diff)
downloadios-node-v8-c55f661551d7368778ae6f9adc584467151bce8a.tar.gz
ios-node-v8-c55f661551d7368778ae6f9adc584467151bce8a.tar.bz2
ios-node-v8-c55f661551d7368778ae6f9adc584467151bce8a.zip
tools: disable x86 safe exception handlers in V8
PR-URL: https://github.com/nodejs/node/pull/35415 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/v8_gypfiles/toolchain.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi
index d4bad70d45..d6cc53f849 100644
--- a/tools/v8_gypfiles/toolchain.gypi
+++ b/tools/v8_gypfiles/toolchain.gypi
@@ -1362,5 +1362,13 @@
4724, # https://crbug.com/v8/7771
4800, # Forcing value to bool.
],
+ # Relevant only for x86.
+ # Refs: https://github.com/nodejs/node/pull/25852
+ # Refs: https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'ImageHasSafeExceptionHandlers': 'false',
+ },
+ },
}, # target_defaults
}