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

Issue 2050953003: [wasm] Split off debug info from wasm object (Closed)

Created:
4 years, 6 months ago by Clemens Hammacher
Modified:
4 years, 6 months ago
Reviewers:
titzer, ahaas
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@decode-function-offsets-table
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Split off debug info from wasm object All debugging-related information is now stored inside a dedicated object, which is only allocated if debugging support is needed. This is also where later a reference to the interpreter will be stored for executing to-be-debugged functions and providing stack inspection. R=titzer@chromium.org, ahaas@chromium.org BUG=chromium:613110 Committed: https://crrev.com/b8238f897746479a2dca4d42e75d2f96791cbbbf Cr-Commit-Position: refs/heads/master@{#37055}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase & comments & other changes #

Patch Set 3 : fix signed/unsigned comparison #

Patch Set 4 : damn windows machines... #

Patch Set 5 : more fixes #

Total comments: 25

Patch Set 6 : address ahaas' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -11 lines) Patch
M BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/v8.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A src/wasm/wasm-debug.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A src/wasm/wasm-debug.cc View 1 2 3 4 5 1 chunk +184 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 chunks +10 lines, -1 line 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 4 chunks +45 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
Clemens Hammacher
Will rebase later. All tests pass locally.
4 years, 6 months ago (2016-06-10 09:52:33 UTC) #2
titzer
https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h File src/wasm/wasm-debug.h (right): https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h#newcode15 src/wasm/wasm-debug.h:15: class WasmDebugInfo : public JSObject { Why not a ...
4 years, 6 months ago (2016-06-10 10:59:26 UTC) #3
clemensh
https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h File src/wasm/wasm-debug.h (right): https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h#newcode15 src/wasm/wasm-debug.h:15: class WasmDebugInfo : public JSObject { On 2016/06/10 10:59:26, ...
4 years, 6 months ago (2016-06-10 11:06:02 UTC) #4
titzer
On 2016/06/10 11:06:02, clemensh wrote: > https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h > File src/wasm/wasm-debug.h (right): > > https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h#newcode15 > ...
4 years, 6 months ago (2016-06-10 11:07:53 UTC) #5
Clemens Hammacher
> https://codereview.chromium.org/2050953003/diff/1/src/wasm/wasm-debug.h#newcode15 > > src/wasm/wasm-debug.h:15: class WasmDebugInfo : public JSObject { > > On 2016/06/10 ...
4 years, 6 months ago (2016-06-15 17:18:16 UTC) #8
ahaas
https://codereview.chromium.org/2050953003/diff/80001/src/wasm/wasm-debug.cc File src/wasm/wasm-debug.cc (right): https://codereview.chromium.org/2050953003/diff/80001/src/wasm/wasm-debug.cc#newcode50 src/wasm/wasm-debug.cc:50: DCHECK_EQ(arr->length(), idx * sizeof(int)); ByteArray uses kIntSize internally instead ...
4 years, 6 months ago (2016-06-16 12:55:09 UTC) #9
clemensh
https://codereview.chromium.org/2050953003/diff/80001/src/wasm/wasm-debug.cc File src/wasm/wasm-debug.cc (right): https://codereview.chromium.org/2050953003/diff/80001/src/wasm/wasm-debug.cc#newcode50 src/wasm/wasm-debug.cc:50: DCHECK_EQ(arr->length(), idx * sizeof(int)); On 2016/06/16 12:55:09, ahaas wrote: ...
4 years, 6 months ago (2016-06-16 15:59:50 UTC) #10
ahaas
lgtm https://codereview.chromium.org/2050953003/diff/80001/src/wasm/wasm-debug.cc File src/wasm/wasm-debug.cc (right): https://codereview.chromium.org/2050953003/diff/80001/src/wasm/wasm-debug.cc#newcode70 src/wasm/wasm-debug.cc:70: Vector<const uint8_t> GetFunctionBytes(WasmDebugInfo *debug_info, On 2016/06/16 at 15:59:50, ...
4 years, 6 months ago (2016-06-16 19:42:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2050953003/100001
4 years, 6 months ago (2016-06-17 08:07:37 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-17 08:33:43 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 08:35:20 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b8238f897746479a2dca4d42e75d2f96791cbbbf
Cr-Commit-Position: refs/heads/master@{#37055}

Powered by Google App Engine
This is Rietveld 408576698