Give v8 a chance to handle signals
V8 is starting to use guard regions and a signal handler to do out of bounds checks for WebAssembly. This means out of bounds accesses will trigger a segmentation fault, but V8 is able to recover from these and throw a Javascript exception instead. In order to do this, V8 needs to cooperate with any existing signal handlers. This CL modifies Chromium's signal handlers to call V8's TryHandleSignal function before taking any other actions so that V8 is able to recover from the faults it expects. BUG= chromium:722585, v8:5277 Review-Url: https://codereview.chromium.org/2885053005 Cr-Commit-Position: refs/heads/master@{#487549}
Showing
Please register or sign in to comment