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

Issue 1145213004: Set V8_HAS_DECLSPEC_SELECTANY for clang-cl (Closed)

Created:
5 years, 7 months ago by hans
Modified:
5 years, 7 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Set V8_HAS_DECLSPEC_SELECTANY for clang-cl This macro is used for defining static data members with STATIC_CONST_MEMBER_DEFINITION. Clang-cl mimics MSVC's behaviour here, so it also needs __declspec(selectany). This change was prompted by Clang r237787 which changed a bug where Clang would previously not emit symbols for some static data members. BUG=82385 LOG=N Committed: https://crrev.com/e514015264f1e0193b57dee76487c85d24f7e4f1 Cr-Commit-Position: refs/heads/master@{#28563}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use a separate #if for the _MSC_VER check #

Total comments: 2

Patch Set 3 : Fix newline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -5 lines) Patch
M include/v8config.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
hans
This should fix link errors such as http://build.chromium.org/p/chromium.fyi/builders/CrWinClang%28dbg%29/builds/441/steps/gclient%20runhooks/logs/stdio
5 years, 7 months ago (2015-05-20 18:11:49 UTC) #2
Reid Kleckner
lgtm
5 years, 7 months ago (2015-05-20 18:18:39 UTC) #3
Nico
On 2015/05/20 18:18:39, Reid Kleckner wrote: > lgtm Can you check where that explicit clang ...
5 years, 7 months ago (2015-05-20 18:40:17 UTC) #4
hans
On 2015/05/20 18:40:17, Nico (afk until Thu May 21) wrote: > On 2015/05/20 18:18:39, Reid ...
5 years, 7 months ago (2015-05-20 18:49:57 UTC) #5
Nico
checked myself now that i'm on a laptop – I didn't change this as much ...
5 years, 7 months ago (2015-05-20 19:28:22 UTC) #7
hans
New patch uploaded. https://codereview.chromium.org/1145213004/diff/1/include/v8config.h File include/v8config.h (right): https://codereview.chromium.org/1145213004/diff/1/include/v8config.h#newcode273 include/v8config.h:273: #elif defined(_MSC_VER) On 2015/05/20 19:28:22, Nico ...
5 years, 7 months ago (2015-05-20 20:21:15 UTC) #8
Nico
On 2015/05/20 20:21:15, hans wrote: > New patch uploaded. > > https://codereview.chromium.org/1145213004/diff/1/include/v8config.h > File include/v8config.h ...
5 years, 7 months ago (2015-05-20 23:56:00 UTC) #9
Benedikt Meurer
LGTM with nit. https://codereview.chromium.org/1145213004/diff/20001/include/v8config.h File include/v8config.h (right): https://codereview.chromium.org/1145213004/diff/20001/include/v8config.h#newcode281 include/v8config.h:281: #endif Nit: keep the empty line ...
5 years, 7 months ago (2015-05-21 04:43:49 UTC) #10
hans
https://codereview.chromium.org/1145213004/diff/20001/include/v8config.h File include/v8config.h (right): https://codereview.chromium.org/1145213004/diff/20001/include/v8config.h#newcode281 include/v8config.h:281: #endif On 2015/05/21 04:43:49, Benedikt Meurer wrote: > Nit: ...
5 years, 7 months ago (2015-05-21 15:25:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145213004/40001
5 years, 7 months ago (2015-05-21 15:26:06 UTC) #14
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/2874)
5 years, 7 months ago (2015-05-21 15:30:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1145213004/40001
5 years, 7 months ago (2015-05-21 15:33:10 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-21 16:21:34 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 16:21:48 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e514015264f1e0193b57dee76487c85d24f7e4f1
Cr-Commit-Position: refs/heads/master@{#28563}

Powered by Google App Engine
This is Rietveld 408576698