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

Issue 2493943002: [wasm] Make reported "lines" on stack frames 1-based (Closed)

Created:
4 years, 1 month ago by Clemens Hammacher
Modified:
4 years, 1 month ago
Reviewers:
kozy, titzer, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Make reported "lines" on stack frames 1-based In captured stack traces, all lines and columns must be 1-based. Even though this makes things a bit ugly, we have to comply also for wasm locations, where line and column encode function index and byte offset (both are originally 0-based). If we don't comply, the frontend might complain, as e.g. DevTools does. BUG=chromium:659715 R=yangguo@chromium.org, kozyatinskiy@chromium.org CC=titzer@chromium.org Committed: https://crrev.com/0c6fa1724f3ae2642f2f1628c10c362e01078803 Cr-Commit-Position: refs/heads/master@{#40971}

Patch Set 1 #

Patch Set 2 : Fix test cases #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -20 lines) Patch
M src/isolate.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M test/cctest/wasm/test-wasm-stack.cc View 1 2 chunks +10 lines, -10 lines 0 comments Download
M test/cctest/wasm/test-wasm-trap-position.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
Clemens Hammacher
4 years, 1 month ago (2016-11-10 23:44:42 UTC) #9
kozy
lgtm
4 years, 1 month ago (2016-11-11 03:28:51 UTC) #11
titzer
On 2016/11/11 03:28:51, kozyatinskiy wrote: > lgtm lgtm
4 years, 1 month ago (2016-11-14 09:24:49 UTC) #12
Yang
On 2016/11/14 09:24:49, titzer wrote: > On 2016/11/11 03:28:51, kozyatinskiy wrote: > > lgtm > ...
4 years, 1 month ago (2016-11-14 10:49:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2493943002/40001
4 years, 1 month ago (2016-11-14 15:55:50 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-14 16:00:08 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:32:57 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0c6fa1724f3ae2642f2f1628c10c362e01078803
Cr-Commit-Position: refs/heads/master@{#40971}

Powered by Google App Engine
This is Rietveld 408576698