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

Issue 1911313002: Pass debug name as Vector instead of const char* (Closed)

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

Description

Pass debug name as Vector instead of const char* This allows to also pass non-null-terminated values, and values containing null characters. Both might happen in wasm. R=titzer@chromium.org Committed: https://crrev.com/c32b202014fb9583490a5796484ca7d43bb5590c Cr-Commit-Position: refs/heads/master@{#35795}

Patch Set 1 #

Total comments: 9

Patch Set 2 : address titzer's comments #

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -50 lines) Patch
M src/code-stubs-hydrogen.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/compiler.cc View 1 2 4 chunks +12 lines, -11 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 4 chunks +19 lines, -17 lines 0 comments Download
M src/vector.h View 2 chunks +7 lines, -0 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 1 chunk +4 lines, -0 lines 2 comments Download
M test/cctest/compiler/codegen-tester.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-linkage.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/test-multiple-return.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-run-stubs.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-field-type-tracking.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/wasm/test-wasm-stack.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 chunks +5 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 22 (8 generated)
Clemens Hammacher
4 years, 8 months ago (2016-04-22 09:48:25 UTC) #1
titzer
https://codereview.chromium.org/1911313002/diff/1/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1911313002/diff/1/src/compiler.h#newcode465 src/compiler.h:465: Vector<const char> GetFunctionName() const { return function_name_; } If ...
4 years, 8 months ago (2016-04-22 11:46:30 UTC) #6
Clemens Hammacher
https://codereview.chromium.org/1911313002/diff/1/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/1911313002/diff/1/src/compiler.h#newcode465 src/compiler.h:465: Vector<const char> GetFunctionName() const { return function_name_; } On ...
4 years, 8 months ago (2016-04-22 13:47:54 UTC) #7
titzer
https://codereview.chromium.org/1911313002/diff/1/src/vector.h File src/vector.h (right): https://codereview.chromium.org/1911313002/diff/1/src/vector.h#newcode207 src/vector.h:207: template <typename T, int N> On 2016/04/22 13:47:54, Clemens ...
4 years, 8 months ago (2016-04-22 13:51:45 UTC) #8
titzer
On 2016/04/22 13:51:45, titzer wrote: > https://codereview.chromium.org/1911313002/diff/1/src/vector.h > File src/vector.h (right): > > https://codereview.chromium.org/1911313002/diff/1/src/vector.h#newcode207 > ...
4 years, 8 months ago (2016-04-22 13:54:22 UTC) #9
Clemens Hammacher
As discussed offline, I stick to ArrayVector, since another variant of CStrVector causes errors in ...
4 years, 8 months ago (2016-04-26 12:36:47 UTC) #12
titzer
https://codereview.chromium.org/1911313002/diff/40001/src/wasm/wasm-opcodes.h File src/wasm/wasm-opcodes.h (right): https://codereview.chromium.org/1911313002/diff/40001/src/wasm/wasm-opcodes.h#newcode56 src/wasm/wasm-opcodes.h:56: inline Vector<const char> toVec() const { We don't need ...
4 years, 8 months ago (2016-04-26 12:45:58 UTC) #13
Clemens Hammacher
https://codereview.chromium.org/1911313002/diff/40001/src/wasm/wasm-opcodes.h File src/wasm/wasm-opcodes.h (right): https://codereview.chromium.org/1911313002/diff/40001/src/wasm/wasm-opcodes.h#newcode56 src/wasm/wasm-opcodes.h:56: inline Vector<const char> toVec() const { On 2016/04/26 at ...
4 years, 8 months ago (2016-04-26 12:58:53 UTC) #14
Clemens Hammacher
On 2016/04/26 at 12:58:53, Clemens Hammacher wrote: > https://codereview.chromium.org/1911313002/diff/40001/src/wasm/wasm-opcodes.h > File src/wasm/wasm-opcodes.h (right): > > ...
4 years, 8 months ago (2016-04-26 14:28:43 UTC) #15
titzer
On 2016/04/26 14:28:43, Clemens Hammacher wrote: > On 2016/04/26 at 12:58:53, Clemens Hammacher wrote: > ...
4 years, 8 months ago (2016-04-26 14:32:51 UTC) #16
titzer
On 2016/04/26 14:32:51, titzer wrote: > On 2016/04/26 14:28:43, Clemens Hammacher wrote: > > On ...
4 years, 8 months ago (2016-04-26 14:33:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1911313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1911313002/40001
4 years, 8 months ago (2016-04-26 14:34:19 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-26 14:36:43 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 14:37:17 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c32b202014fb9583490a5796484ca7d43bb5590c
Cr-Commit-Position: refs/heads/master@{#35795}

Powered by Google App Engine
This is Rietveld 408576698