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

Issue 327613002: dllexport Pickle::WriteBytesStatic (Closed)

Created:
6 years, 6 months ago by hans
Modified:
6 years, 6 months ago
Reviewers:
Reid Kleckner, Nico, piman
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

dllexport Pickle::WriteBytesStatic WriteBytesStatic is called by methods defined in pickle.h (e.g. WriteInt, which calls WritePod<4>). If those methods are inlined (MSVC doesn't seem to do that, but Clang does), the definition of WriteBytesStatic needs to be available across the dll boundry. (Note that dllimport/export isn't inherited by class member templates, but the visibility attribute that we use on other platforms is.) BUG=82385 TEST=build ipc.dll with Clang in a shared_library Release build R=piman@chromium.org, rnk@chromium.org, thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276218

Patch Set 1 #

Patch Set 2 : Put BASE_EXPORT on the declaration instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M base/pickle.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
hans
Please take a look!
6 years, 6 months ago (2014-06-09 20:44:44 UTC) #1
Reid Kleckner
On 2014/06/09 20:44:44, hans wrote: > Please take a look! pickle.h is activating my "this ...
6 years, 6 months ago (2014-06-09 21:17:15 UTC) #2
Reid Kleckner
On 2014/06/09 21:17:15, Reid Kleckner wrote: > On 2014/06/09 20:44:44, hans wrote: > > Please ...
6 years, 6 months ago (2014-06-09 21:43:17 UTC) #3
piman
LGTM
6 years, 6 months ago (2014-06-10 00:57:00 UTC) #4
hans
The CQ bit was checked by hans@chromium.org
6 years, 6 months ago (2014-06-10 00:59:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/327613002/1
6 years, 6 months ago (2014-06-10 01:00:14 UTC) #6
Nico
Do you know why this isn't needed on non-windows?
6 years, 6 months ago (2014-06-10 16:04:03 UTC) #7
Nico
I suppose the rules for dllexport and explicit visibility attributes are just different? …and in ...
6 years, 6 months ago (2014-06-10 16:09:58 UTC) #8
hans
On 2014/06/10 16:09:58, Nico (away) wrote: > I suppose the rules for dllexport and explicit ...
6 years, 6 months ago (2014-06-10 16:34:31 UTC) #9
hans
New patch uploaded.
6 years, 6 months ago (2014-06-10 16:38:03 UTC) #10
Nico
patch set 2 lgtm
6 years, 6 months ago (2014-06-10 16:40:16 UTC) #11
hans
The CQ bit was checked by hans@chromium.org
6 years, 6 months ago (2014-06-10 16:41:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/327613002/20001
6 years, 6 months ago (2014-06-10 16:46:02 UTC) #13
chromium-reviews
On Tue, Jun 10, 2014 at 9:34 AM, <hans@chromium.org> wrote: > > Hmm, yes, we ...
6 years, 6 months ago (2014-06-10 17:33:26 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 00:20:05 UTC) #15
hans
On 2014/06/11 00:20:05, I haz the power (commit-bot) wrote: > FYI, CQ is re-trying this ...
6 years, 6 months ago (2014-06-11 00:34:31 UTC) #16
hans
6 years, 6 months ago (2014-06-11 00:34:43 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 manually as r276218 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698