Description[wasm] Add ProtectedStore instruction
This is necessary for signal-based out of bounds handling in WebAssembly.
Adds a ProtectedStore instruction that is analogous to the previously added
ProtectedLoad instruction. Rather than using bounds checks, ProtectedStore emits
an out of line section of code that throws a JavaScript exception and provides
the necessary metadata for a signal handler to be able to find the out of line
code.
BUG= https://bugs.chromium.org/p/v8/issues/detail?id=5277
Committed: https://crrev.com/4ab4bbe9b16a47a16b4f8d6bf17eb77eadbb139d
Cr-Commit-Position: refs/heads/master@{#41398}
Patch Set 1 #Patch Set 2 : Stubbing out other architectures #Patch Set 3 : Formatting #
Total comments: 7
Patch Set 4 : Behave well on unsupported platforms; refactored protect memory movement to support other sizes. #Patch Set 5 : Fixing Windows #Patch Set 6 : Merging with master; fixing v8_linux64_gyp_rel_ng #Patch Set 7 : Merge branch 'master' of https://chromium.googlesource.com/v8/v8 into protected-store #
Total comments: 2
Patch Set 8 : Fixing nits #Patch Set 9 : Merging with master #
Created: 4 years ago
Messages
Total messages: 31 (21 generated)
|