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

Issue 1890803002: [wasm] Generate source position information (Closed)

Created:
4 years, 8 months ago by Clemens Hammacher
Modified:
4 years, 7 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@wasm-throw-error
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Generate source position information Annotate call nodes in the TF graph with source code information in the form of byte offset relative to the wasm function start. The backend finally outputs those positions as RelocInfo. R=bmeurer@chromium.org, mstarzinger@chromium.org, titzer@chromium.org Committed: https://crrev.com/91386f0bc09b47dfe61ad5779d23f978585e9519 Cr-Commit-Position: refs/heads/master@{#35793}

Patch Set 1 #

Patch Set 2 : Remove forbidden include #

Patch Set 3 : some doc and fixes #

Total comments: 9

Patch Set 4 : address all the comments #

Patch Set 5 : minor #

Total comments: 5

Patch Set 6 : address comments #

Patch Set 7 : rebase after mstarzinger's zoneification of SourcePositionTable #

Patch Set 8 : drop empty line ;) #

Total comments: 2

Patch Set 9 : final rebase to ahaas' changes to the pipeline #

Patch Set 10 : oops #

Patch Set 11 : add an include for the mac build bot #

Patch Set 12 : avoid using std::tie #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -105 lines) Patch
M src/compiler/pipeline.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 8 7 chunks +45 lines, -74 lines 0 comments Download
M src/compiler/source-position.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/source-position.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/compiler/wasm-compiler.h View 1 2 3 4 chunks +8 lines, -1 line 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +25 lines, -14 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 4 5 6 7 8 5 chunks +15 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 7 8 9 6 chunks +25 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (9 generated)
Clemens Hammacher
4 years, 8 months ago (2016-04-14 10:42:00 UTC) #1
Clemens Hammacher
I know that I am doing some questionable changes, so please provide feedback as appropriate. ...
4 years, 8 months ago (2016-04-14 10:42:22 UTC) #2
Clemens Hammacher
Patch 2 does not include compiler-internal stuff any more to the ast decoder. In order ...
4 years, 8 months ago (2016-04-14 12:45:35 UTC) #3
titzer
https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h#newcode464 src/compiler.h:464: source_position_table_ = table; I'm not sure that the CompilationInfo ...
4 years, 8 months ago (2016-04-18 11:03:51 UTC) #5
Michael Starzinger
https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h#newcode464 src/compiler.h:464: source_position_table_ = table; On 2016/04/18 11:03:51, titzer wrote: > ...
4 years, 8 months ago (2016-04-18 11:08:47 UTC) #6
titzer
On 2016/04/18 11:08:47, Michael Starzinger wrote: > https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h > File src/compiler.h (right): > > https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h#newcode464 ...
4 years, 8 months ago (2016-04-18 11:14:25 UTC) #7
Clemens Hammacher
https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h#newcode464 src/compiler.h:464: source_position_table_ = table; On 2016/04/18 at 11:08:47, Michael Starzinger ...
4 years, 8 months ago (2016-04-18 11:18:10 UTC) #8
titzer
On 2016/04/18 11:18:10, Clemens Hammacher wrote: > https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h > File src/compiler.h (right): > > https://codereview.chromium.org/1890803002/diff/40001/src/compiler.h#newcode464 ...
4 years, 8 months ago (2016-04-18 11:21:57 UTC) #9
Clemens Hammacher
PTAL.
4 years, 8 months ago (2016-04-22 09:54:22 UTC) #11
Michael Starzinger
LGTM from my end with nits. https://codereview.chromium.org/1890803002/diff/80001/src/compiler/pipeline.h File src/compiler/pipeline.h (right): https://codereview.chromium.org/1890803002/diff/80001/src/compiler/pipeline.h#newcode37 src/compiler/pipeline.h:37: // code. nit: ...
4 years, 8 months ago (2016-04-22 11:30:21 UTC) #12
Clemens Hammacher
https://codereview.chromium.org/1890803002/diff/80001/src/compiler/source-position.h File src/compiler/source-position.h (right): https://codereview.chromium.org/1890803002/diff/80001/src/compiler/source-position.h#newcode77 src/compiler/source-position.h:77: On 2016/04/22 at 11:30:21, Michael Starzinger wrote: > nit: ...
4 years, 8 months ago (2016-04-22 13:46:40 UTC) #14
Clemens Hammacher
On 2016/04/22 at 13:46:40, Clemens Hammacher wrote: > https://codereview.chromium.org/1890803002/diff/80001/src/compiler/source-position.h > File src/compiler/source-position.h (right): > > ...
4 years, 8 months ago (2016-04-25 16:12:59 UTC) #15
Michael Starzinger
On 2016/04/25 16:12:59, Clemens Hammacher wrote: > On 2016/04/22 at 13:46:40, Clemens Hammacher wrote: > ...
4 years, 8 months ago (2016-04-25 17:36:37 UTC) #16
Michael Starzinger
https://codereview.chromium.org/1890803002/diff/140001/src/compiler/pipeline.cc File src/compiler/pipeline.cc (right): https://codereview.chromium.org/1890803002/diff/140001/src/compiler/pipeline.cc#newcode1299 src/compiler/pipeline.cc:1299: pipeline_statistics->BeginPhaseKind("test codegen"); nit: s/test codegen/WASM codegen/ here. https://codereview.chromium.org/1890803002/diff/140001/src/compiler/pipeline.cc#newcode1304 src/compiler/pipeline.cc:1304: ...
4 years, 8 months ago (2016-04-25 17:42:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1890803002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1890803002/220001
4 years, 8 months ago (2016-04-26 12:16:21 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/14158)
4 years, 8 months ago (2016-04-26 12:20:13 UTC) #23
Clemens Hammacher
On 2016/04/26 at 12:20:13, commit-bot wrote: > Try jobs failed on following builders: > v8_presubmit ...
4 years, 8 months ago (2016-04-26 12:34:51 UTC) #24
titzer
On 2016/04/26 12:34:51, Clemens Hammacher wrote: > On 2016/04/26 at 12:20:13, commit-bot wrote: > > ...
4 years, 8 months ago (2016-04-26 12:42:54 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1890803002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1890803002/220001
4 years, 8 months ago (2016-04-26 12:43:27 UTC) #27
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 8 months ago (2016-04-26 12:46:08 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 12:47:23 UTC) #30
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/91386f0bc09b47dfe61ad5779d23f978585e9519
Cr-Commit-Position: refs/heads/master@{#35793}

Powered by Google App Engine
This is Rietveld 408576698