Description[wasm] OOB traps: build protected instruction list during codegen
During codegen, we build a list mapping protected instructions to their
associated landing pads. This will ultimately by used by the signal handler to
recover from out of bounds faults and throw a JS exception.
This is mostly pulled from my larger in-progress CL at
https://codereview.chromium.org/2371833007/.
BUG= https://bugs.chromium.org/p/v8/issues/detail?id=5277
Committed: https://crrev.com/bf35d15e5265f2d6ac74a594876d73ced535d8d1
Cr-Commit-Position: refs/heads/master@{#41400}
Patch Set 1 #Patch Set 2 : Fixing Windows #Patch Set 3 : Fixing Windows better #
Total comments: 6
Patch Set 4 : Moving most of the instruction list code to src/compiler; merging with master #Patch Set 5 : Merging with master #
Total comments: 13
Patch Set 6 : Merging with master #Patch Set 7 : Code review feedback #
Total comments: 2
Patch Set 8 : Merging with master #Patch Set 9 : Removing spurious changes #
Messages
Total messages: 33 (21 generated)
|