Chromium Code Reviews
Descriptionandroid: 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 #
Messages
Total messages: 11 (7 generated)
|
|||||||||||||||||||