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

Issue 2342563002: [d8] Fix the shared-library build (Closed)

Created:
4 years, 3 months ago by jgruber
Modified:
4 years, 3 months ago
CC:
Michael Hablich, Hannes Payer (out of office), rmcilroy, ulan, v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[d8] Fix the shared-library build This commit ensures that the d8 shared library build uses the same logic as the standard static build by exporting relevant functions and classes. BUG=chromium:646337 Committed: https://crrev.com/2c10ca8086a4d595ecf9aa843d2031b068470d65 Committed: https://crrev.com/4f5695229e49a7615bf7b03d26209314ffa48985 Cr-Original-Commit-Position: refs/heads/master@{#39503} Cr-Commit-Position: refs/heads/master@{#39547}

Patch Set 1 #

Patch Set 2 : Format #

Patch Set 3 : Unconditionally compile d8-js.cc into d8 #

Patch Set 4 : Fix 'non dll-interface class used as base for dll-interface class' #

Patch Set 5 : Fix 'must have external linkage in order to be exported/imported' #

Patch Set 6 : Two fixes for snapshot builds #

Patch Set 7 : Mark flag declaration V8_EXPORT_PRIVATE #

Patch Set 8 : Revert FLAG_READONLY decl as static const and fix operator<< #

Patch Set 9 : Don't declare NativesCollection as dllimport for d8 target #

Patch Set 10 : Unconditionally clear and restore USING_V8_SHARED in js2c #

Patch Set 11 : Handle NativesCollection in natives.h #

Patch Set 12 : Add addtl required V8_EXPORT_PRIVATE for windows #

Patch Set 13 : Mark memcopy_uint8_function V8_EXPORT_PRIVATE #

Patch Set 14 : Mark in .cc as well #

Patch Set 15 : Mark as extern in .cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -207 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +3 lines, -11 lines 0 comments Download
M include/v8.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M src/allocation.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -3 lines 0 comments Download
M src/basic-block-profiler.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M src/d8.h View 1 2 3 4 5 6 7 8 9 10 11 12 12 chunks +0 lines, -22 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 6 7 8 9 10 11 12 43 chunks +0 lines, -107 lines 0 comments Download
M src/d8.gyp View 1 2 2 chunks +8 lines, -12 lines 0 comments Download
M src/factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +8 lines, -10 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +9 lines, -2 lines 0 comments Download
M src/globals.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M src/heap/incremental-marking.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/heap/mark-compact.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/inspector/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -4 lines 0 comments Download
M src/interpreter/interpreter.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M src/ostreams.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/snapshot/natives.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
M src/utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +9 lines, -6 lines 0 comments Download
M src/utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -3 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +0 lines, -8 lines 0 comments Download
M src/wasm/wasm-js.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 93 (75 generated)
jgruber
4 years, 3 months ago (2016-09-15 11:40:16 UTC) #49
jochen (gone - plz use gerrit)
so good lgtm
4 years, 3 months ago (2016-09-15 11:41:38 UTC) #50
Michael Achenbach
lgtm - will this (or more of this) also enable cctest and unittests to use ...
4 years, 3 months ago (2016-09-19 06:59:40 UTC) #51
jochen (gone - plz use gerrit)
On 2016/09/19 at 06:59:40, machenbach wrote: > lgtm - will this (or more of this) ...
4 years, 3 months ago (2016-09-19 07:01:43 UTC) #52
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/2342563002/20002
4 years, 3 months ago (2016-09-19 07:23:10 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/24322)
4 years, 3 months ago (2016-09-19 07:27:18 UTC) #56
jgruber
+vogelheim for snapshot/ +bmeurer for interpreter/ +titzer for wasm/
4 years, 3 months ago (2016-09-19 07:38:36 UTC) #58
titzer
On 2016/09/19 07:38:36, jgruber wrote: > +vogelheim for snapshot/ > +bmeurer for interpreter/ > +titzer ...
4 years, 3 months ago (2016-09-19 10:35:52 UTC) #63
vogelheim
lgtm for src/snapshot/...
4 years, 3 months ago (2016-09-19 11:42:47 UTC) #64
Benedikt Meurer
lgtm
4 years, 3 months ago (2016-09-19 12:43:10 UTC) #65
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/2342563002/20002
4 years, 3 months ago (2016-09-19 12:44:48 UTC) #67
commit-bot: I haz the power
Committed patchset #12 (id:20002)
4 years, 3 months ago (2016-09-19 12:47:09 UTC) #69
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/2c10ca8086a4d595ecf9aa843d2031b068470d65 Cr-Commit-Position: refs/heads/master@{#39503}
4 years, 3 months ago (2016-09-19 12:47:30 UTC) #71
Michael Achenbach
meh: double bug. Bug one, this potentially breaks chromium android dbg and blocks the roll, ...
4 years, 3 months ago (2016-09-19 21:11:59 UTC) #72
Michael Achenbach
A revert of this CL (patchset #12 id:20002) has been created in https://codereview.chromium.org/2356703003/ by machenbach@chromium.org. ...
4 years, 3 months ago (2016-09-20 07:12:24 UTC) #73
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/2342563002/270001
4 years, 3 months ago (2016-09-20 12:04:12 UTC) #89
commit-bot: I haz the power
Committed patchset #15 (id:270001)
4 years, 3 months ago (2016-09-20 12:06:43 UTC) #91
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 12:07:06 UTC) #93
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/4f5695229e49a7615bf7b03d26209314ffa48985
Cr-Commit-Position: refs/heads/master@{#39547}

Powered by Google App Engine
This is Rietveld 408576698