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 2336253002: Fix clang-cl release component build failure on windows. (Closed)

Created:
4 years, 3 months ago by dtapuska
Modified:
4 years, 3 months ago
Reviewers:
Nico, Rick Byers
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix clang-cl release component build failure on windows. Issue was caused in change: https://codereview.chromium.org/2290733002 BUG=597963 Committed: https://crrev.com/705c8eb7fa3ee2ee19da9c78fdd8266108ae207e Cr-Commit-Position: refs/heads/master@{#418267}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
dtapuska
4 years, 3 months ago (2016-09-13 14:29:48 UTC) #3
Nico
lgtm, thanks. I checked that msvc component builds don't need this. hans: The link error ...
4 years, 3 months ago (2016-09-13 15:06:11 UTC) #5
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/2336253002/1
4 years, 3 months ago (2016-09-13 15:06:36 UTC) #7
Rick Byers
Thanks! Sorry I missed this. Nico, is there somewhere we should track build issues that ...
4 years, 3 months ago (2016-09-13 15:08:40 UTC) #8
Nico
On 2016/09/13 15:08:40, Rick Byers wrote: > Thanks! Sorry I missed this. Nico, is there ...
4 years, 3 months ago (2016-09-13 15:10:03 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-13 16:22:49 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/705c8eb7fa3ee2ee19da9c78fdd8266108ae207e Cr-Commit-Position: refs/heads/master@{#418267}
4 years, 3 months ago (2016-09-13 16:25:32 UTC) #13
hans
On 2016/09/13 15:06:11, Nico wrote: > hans: The link error is here: https://codereview.chromium.org/2290733002/#msg24 > (and ...
4 years, 3 months ago (2016-09-13 16:41:27 UTC) #14
hans
On 2016/09/13 16:41:27, hans wrote: > On 2016/09/13 15:06:11, Nico wrote: > > hans: The ...
4 years, 3 months ago (2016-09-13 21:30:40 UTC) #15
Rick Byers
4 years, 3 months ago (2016-09-14 00:55:17 UTC) #16
Message was sent while issue was closed.
On 2016/09/13 21:30:40, hans wrote:
> On 2016/09/13 16:41:27, hans wrote:
> > On 2016/09/13 15:06:11, Nico wrote:
> > > hans: The link error is here:
> > https://codereview.chromium.org/2290733002/#msg24
> > > (and UseCounter.h in that Cl also shows the code). I guess msvc decides to
> not
> > > inline the dtor of the outer class in the test, and so it doesn't need the
> > dtor
> > > of the inner class in the test file -- so this only happens by accident in
> > msvc
> > > as far as I understand (based on an inlining decision).
> > 
> > Yes, that's what's happened here.
> > 
> > Actually, clang-cl does try to avoid this situation after r246338, which is
> why
> > we've seen less of it. It tries to check if a dllimport function is safe to
> > inline based on whether that in turn references non-dllimport functions.
> However
> > in this case it doesn't realize that ~UseCounter() calls ~LegacyUseCounter()
> > because that call doesn't show up in the AST walk.
> 
> Clang r281395 should make this better.

Cool, thanks for the follow-through!

Powered by Google App Engine
This is Rietveld 408576698