Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Issue 1924253002: [wasm] Patch trapping position into stack trace (Closed)

Created:
4 years, 7 months ago by Clemens Hammacher
Modified:
4 years, 7 months ago
Reviewers:
titzer, Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@pass-wasm-position-to-runtime
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Patch trapping position into stack trace And add more tests for traps at different locations. R=titzer@chromium.org, yangguo@chromium.org Committed: https://crrev.com/bafa239da034d2d914609eb614994efd9381e53e Cr-Commit-Position: refs/heads/master@{#36202}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address titzer's comments #

Patch Set 3 : silence compiler warning #

Patch Set 4 : rebase #

Patch Set 5 : fix #

Patch Set 6 : fix another test case ;) #

Patch Set 7 : rebase #

Patch Set 8 : change expected test outcome #

Total comments: 4

Patch Set 9 : add TODO with tracking bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -63 lines) Patch
M src/js/messages.js View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M src/runtime/runtime-internal.cc View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -3 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/wasm/test-wasm-stack.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
A + test/cctest/wasm/test-wasm-trap-position.cc View 1 2 3 4 5 6 7 5 chunks +23 lines, -50 lines 0 comments Download
M test/mjsunit/wasm/stack.js View 1 2 3 4 5 6 2 chunks +5 lines, -7 lines 0 comments Download
A test/mjsunit/wasm/trap-location.js View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/wasm-constants.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
Clemens Hammacher
4 years, 7 months ago (2016-04-28 12:02:33 UTC) #1
titzer
https://codereview.chromium.org/1924253002/diff/1/src/runtime/runtime-internal.cc File src/runtime/runtime-internal.cc (right): https://codereview.chromium.org/1924253002/diff/1/src/runtime/runtime-internal.cc#newcode107 src/runtime/runtime-internal.cc:107: // Now patch the given byte offset into the ...
4 years, 7 months ago (2016-04-28 12:07:59 UTC) #2
Clemens Hammacher
https://codereview.chromium.org/1924253002/diff/1/src/runtime/runtime-internal.cc File src/runtime/runtime-internal.cc (right): https://codereview.chromium.org/1924253002/diff/1/src/runtime/runtime-internal.cc#newcode107 src/runtime/runtime-internal.cc:107: // Now patch the given byte offset into the ...
4 years, 7 months ago (2016-04-28 12:32:12 UTC) #5
titzer
On 2016/04/28 12:32:12, Clemens Hammacher wrote: > https://codereview.chromium.org/1924253002/diff/1/src/runtime/runtime-internal.cc > File src/runtime/runtime-internal.cc (right): > > https://codereview.chromium.org/1924253002/diff/1/src/runtime/runtime-internal.cc#newcode107 ...
4 years, 7 months ago (2016-05-03 10:56:29 UTC) #6
Yang
LGTM if comments are addressed. https://codereview.chromium.org/1924253002/diff/140001/src/js/messages.js File src/js/messages.js (right): https://codereview.chromium.org/1924253002/diff/140001/src/js/messages.js#newcode831 src/js/messages.js:831: var pos = IS_NUMBER(fun) ...
4 years, 7 months ago (2016-05-11 08:22:18 UTC) #9
Clemens Hammacher
https://codereview.chromium.org/1924253002/diff/140001/src/js/messages.js File src/js/messages.js (right): https://codereview.chromium.org/1924253002/diff/140001/src/js/messages.js#newcode831 src/js/messages.js:831: var pos = IS_NUMBER(fun) && pc < 0 ? ...
4 years, 7 months ago (2016-05-12 07:49:39 UTC) #14
Yang
On 2016/05/12 07:49:39, Clemens Hammacher wrote: > https://codereview.chromium.org/1924253002/diff/140001/src/js/messages.js > File src/js/messages.js (right): > > https://codereview.chromium.org/1924253002/diff/140001/src/js/messages.js#newcode831 ...
4 years, 7 months ago (2016-05-12 08:48:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924253002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924253002/160001
4 years, 7 months ago (2016-05-12 08:57:52 UTC) #18
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-12 09:06:56 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 09:08:47 UTC) #22
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/bafa239da034d2d914609eb614994efd9381e53e
Cr-Commit-Position: refs/heads/master@{#36202}

Powered by Google App Engine
This is Rietveld 408576698