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

Issue 1471063003: Remove dead functions at link time on Mac. (Closed)

Created:
5 years ago by rmacnak
Modified:
5 years ago
CC:
reviews_dartlang.org, ricow1
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove dead functions at link time on Mac. ReleaseX64 stripped dart_precompiled 10.5MB -> 8.4MB (-20%) dart 12.1MB -> 11.5MB (-5%) R=iposva@google.com Committed: https://github.com/dart-lang/sdk/commit/a984188def0b1db80dc4f83ee77bdbde883af5bd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M tools/gyp/configurations_xcode.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
rmacnak
5 years ago (2015-11-23 21:38:34 UTC) #2
Ivan Posva
LGTM -ip
5 years ago (2015-11-23 22:10:39 UTC) #3
rmacnak
Committed patchset #1 (id:1) manually as a984188def0b1db80dc4f83ee77bdbde883af5bd (presubmit successful).
5 years ago (2015-11-23 22:57:44 UTC) #4
Florian Schneider
Lgtm. Is there anythink like gcc/clang's -ffunction-sections for xcode as well, or is it not ...
5 years ago (2015-11-24 10:02:15 UTC) #5
rmacnak
5 years ago (2015-11-24 20:56:16 UTC) #6
Message was sent while issue was closed.
On 2015/11/24 10:02:15, Florian Schneider wrote:
> Lgtm.
> 
> Is there anythink like gcc/clang's -ffunction-sections for xcode as well, or
is
> it not needed?

Xcode complains if given -ffunction-sections. The savings here are about the
same as your change on Linux, so I don't think the compiler needs an extra flag.

Powered by Google App Engine
This is Rietveld 408576698