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

Issue 2959083002: android: Use fdebug-info-for-profiling in minimal_symbols mode (the default). (Closed)

Created:
3 years, 5 months ago by Nico
Modified:
3 years, 5 months ago
Reviewers:
Torne
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Use fdebug-info-for-profiling in minimal_symbols mode (the default). We build chrome with -g1 on Android, because with -g2 binary size exceeds the 32-bit ELF container format. However, in -g1 mode clang doesn't emit DW_AT_linkage_name annotations, so we don't get qualified names in stacks. As a workaround, pass fdebug-info-for-profiling which enables DW_AT_linkage_name and a few other things we don't need. This increases the size of unstripped libchrome.so from 400MB to 600MB, which is quite a bit larger, but still comfortably below the limit. BUG=735027 Review-Url: https://codereview.chromium.org/2959083002 Cr-Commit-Position: refs/heads/master@{#482772} Committed: https://chromium.googlesource.com/chromium/src/+/120b37effd521f42b59184bb0abc9d8cebcafc0d

Patch Set 1 #

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

Messages

Total messages: 11 (7 generated)
Nico
3 years, 5 months ago (2017-06-27 19:54:31 UTC) #3
Torne
lgtm
3 years, 5 months ago (2017-06-27 20:00:05 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/2959083002/1
3 years, 5 months ago (2017-06-27 20:00:56 UTC) #8
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 22:51:34 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/120b37effd521f42b59184bb0abc...

Powered by Google App Engine
This is Rietveld 408576698