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

Issue 2726983004: Output a linker map file for official builds (Closed)

Created:
3 years, 9 months ago by agrieve
Modified:
3 years, 9 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Output a linker map file for official builds I intend to use the map file for binary size analysis. Map file is gzipped, and is about 20MB for Android. Adds ~2.5 seconds onto a 30 second link on my z620. BUG=681694 Review-Url: https://codereview.chromium.org/2726983004 Cr-Commit-Position: refs/heads/master@{#455482} Committed: https://chromium.googlesource.com/chromium/src/+/7d275da6c61c065510dcbcbd237636891d4b435a

Patch Set 1 #

Patch Set 2 : test out on trybots without is_official_build #

Patch Set 3 : guard behind is_official_build #

Total comments: 2

Patch Set 4 : Enable for binaries as well & apply for Android only #

Patch Set 5 : linux #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -11 lines) Patch
M build/toolchain/android/BUILD.gn View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M build/toolchain/gcc_link_wrapper.py View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M build/toolchain/gcc_solink_wrapper.py View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 2 3 4 6 chunks +42 lines, -7 lines 0 comments Download
M build/toolchain/linux/BUILD.gn View 1 2 3 4 4 chunks +12 lines, -0 lines 0 comments Download
M build/toolchain/wrapper_utils.py View 1 2 3 2 chunks +46 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (11 generated)
agrieve
On 2017/03/03 18:14:54, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:dpranke@chromium.org 📴
3 years, 9 months ago (2017-03-03 18:15:19 UTC) #9
agrieve
On 2017/03/03 18:15:19, agrieve wrote: > On 2017/03/03 18:14:54, agrieve wrote: > > mailto:agrieve@chromium.org changed ...
3 years, 9 months ago (2017-03-03 20:13:21 UTC) #10
Dirk Pranke
https://codereview.chromium.org/2726983004/diff/40001/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/2726983004/diff/40001/build/toolchain/gcc_toolchain.gni#newcode326 build/toolchain/gcc_toolchain.gni:326: if (is_official_build) { This'll affect linux and chromeos too, ...
3 years, 9 months ago (2017-03-03 21:38:49 UTC) #11
agrieve
https://codereview.chromium.org/2726983004/diff/40001/build/toolchain/gcc_toolchain.gni File build/toolchain/gcc_toolchain.gni (right): https://codereview.chromium.org/2726983004/diff/40001/build/toolchain/gcc_toolchain.gni#newcode326 build/toolchain/gcc_toolchain.gni:326: if (is_official_build) { On 2017/03/03 21:38:48, Dirk Pranke wrote: ...
3 years, 9 months ago (2017-03-04 02:01:26 UTC) #12
Dirk Pranke
On 2017/03/04 02:01:26, agrieve wrote: > https://codereview.chromium.org/2726983004/diff/40001/build/toolchain/gcc_toolchain.gni > File build/toolchain/gcc_toolchain.gni (right): > > https://codereview.chromium.org/2726983004/diff/40001/build/toolchain/gcc_toolchain.gni#newcode326 > ...
3 years, 9 months ago (2017-03-04 02:58:58 UTC) #13
agrieve
On 2017/03/04 02:58:58, Dirk Pranke wrote: > On 2017/03/04 02:01:26, agrieve wrote: > > > ...
3 years, 9 months ago (2017-03-07 02:20:45 UTC) #14
Dirk Pranke
lgtm
3 years, 9 months ago (2017-03-07 02:30:00 UTC) #15
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/2726983004/80001
3 years, 9 months ago (2017-03-08 15:53:13 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 17:23:59 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/7d275da6c61c065510dcbcbd2376...

Powered by Google App Engine
This is Rietveld 408576698