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

Issue 2587603002: Make is_win_fastlink imply -fstandalone-debug for clang (Closed)

Created:
4 years ago by Reid Kleckner
Modified:
4 years ago
Reviewers:
Nico, brucedawson
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make is_win_fastlink imply -fstandalone-debug for clang Visual Studio can't find type information outside of the object file currently being debugged with /DEBUG:FASTLINK. So, every object file needs to have "standalone" debug information in this mode. However, that generates a lot more debug info and slows down normal links, so only do this when we know fastlink is in use. While we're at it, explicitly pass -fno-standalone-debug to clang when we're not using is_win_fastlink. This will make sure Chromium keeps using limited debug info if clang switches the default for -fstandalone-debug. R=thakis@chromium.org,brucedawson@chromium.org BUG=657518 Committed: https://crrev.com/482876ffc87c08dcd8474001eec6d0717f41c4eb Cr-Commit-Position: refs/heads/master@{#440163}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M build/config/compiler/BUILD.gn View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Reid Kleckner
4 years ago (2016-12-16 23:25:44 UTC) #1
Nico
Doesn't this make fastlink slower? By how much? Since it has "fast" in the name ...
4 years ago (2016-12-16 23:32:19 UTC) #2
Reid Kleckner
On 2016/12/16 23:32:19, Nico (out Thu Dec 15) wrote: > Doesn't this make fastlink slower? ...
4 years ago (2016-12-16 23:50:07 UTC) #3
Reid Kleckner
This moved fastlink time from 91.6s to 101.4s. I ran each link twice and took ...
4 years ago (2016-12-17 00:19:59 UTC) #4
brucedawson
On 2016/12/17 00:19:59, Reid Kleckner wrote: > This moved fastlink time from 91.6s to 101.4s. ...
4 years ago (2016-12-19 23:10:24 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/2587603002/1
4 years ago (2016-12-21 17:35:38 UTC) #7
Nico
(FWIW it doesn't seem like a modest increase to me -- over 10 %-- especially ...
4 years ago (2016-12-21 17:45:27 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-21 18:40:33 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-21 18:44:43 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/482876ffc87c08dcd8474001eec6d0717f41c4eb
Cr-Commit-Position: refs/heads/master@{#440163}

Powered by Google App Engine
This is Rietveld 408576698