Description[wasm] Make wasm info available on the stack trace
This changes different locations to extract the reference to the wasm
object and the function index from the stack trace, and make it
available through all the APIs which process stack traces.
The javascript CallSite object now has the new methods isWasm(),
getWasmObject() and getWasmFunctionIndex(); the byte offset is
available via getPosition().
Function names of wasm frames should be fully functional with this
commit, position information works reliably for calls, but not for
traps like unreachable or out-of-bounds accesses.
R=titzer@chromium.org, yangguo@chromium.org
Committed: https://crrev.com/a4cd1eef0a08f93d64e8b2d8e566972fc23a5ef8
Cr-Commit-Position: refs/heads/master@{#36067}
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : fix unused variable in release build #Patch Set 4 : fix another signed/unsigned comparison #Patch Set 5 : more gcmole problems #
Total comments: 8
Patch Set 6 : address titzers comments #Patch Set 7 : rebase #
Total comments: 3
Patch Set 8 : remove changes to API #Patch Set 9 : fix accessor function #Patch Set 10 : rebase #
Total comments: 36
Patch Set 11 : address yang's comments #
Total comments: 4
Patch Set 12 : more beautification #
Total comments: 8
Patch Set 13 : last changes #
Dependent Patchsets: Messages
Total messages: 22 (5 generated)
|