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

Issue 2509323002: [wasm] Implement frame printing for debug (Closed)

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

Description

[wasm] Implement frame printing for debug This makes wasm frames show up nicely in stack traces generated e.g. by Isolate::PrintStack() and Isolate::PrintCurrentStackTrace(). With this CL, we print the script name, function index, function name, pc and source position. R=titzer@chromium.org, ahaas@chromium.org Committed: https://crrev.com/18084f17bbda4a3489d7c5bceeed97dcdbcb208c Cr-Commit-Position: refs/heads/master@{#41102}

Patch Set 1 #

Patch Set 2 : Make bots happy and adapt comments #

Patch Set 3 : What's wrong about constexpr?? #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -3 lines) Patch
M src/frames.cc View 1 2 1 chunk +22 lines, -1 line 2 comments Download
M src/wasm/wasm-objects.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 chunks +13 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (18 generated)
Clemens Hammacher
4 years, 1 month ago (2016-11-17 18:19:27 UTC) #17
titzer
lgtm with nit https://codereview.chromium.org/2509323002/diff/60001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/2509323002/diff/60001/src/frames.cc#newcode1509 src/frames.cc:1509: accumulator->Add("], function #%u ('%s'), pc=%p, pos=%d\n", ...
4 years, 1 month ago (2016-11-18 10:38:21 UTC) #18
Clemens Hammacher
https://codereview.chromium.org/2509323002/diff/60001/src/frames.cc File src/frames.cc (right): https://codereview.chromium.org/2509323002/diff/60001/src/frames.cc#newcode1509 src/frames.cc:1509: accumulator->Add("], function #%u ('%s'), pc=%p, pos=%d\n", On 2016/11/18 at ...
4 years, 1 month ago (2016-11-18 12:01:28 UTC) #19
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/2509323002/60001
4 years, 1 month ago (2016-11-18 12:16:03 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-18 12:18:02 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 12:18:25 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/18084f17bbda4a3489d7c5bceeed97dcdbcb208c
Cr-Commit-Position: refs/heads/master@{#41102}

Powered by Google App Engine
This is Rietveld 408576698