Mac build with symbol_level=1 is larger than it's possible.
Code review contains measurements that dead code stripping on (-Wl,-dead_strip) doesn't seem to affect linking performance. See https://chromium-review.googlesource.com/c/chromium/src/+/1792702. Dead code stripping seems to save about 50% binary size. For protoc binary it's 5.6MB vs 4.2MB. Bug: 1002023 Change-Id: I361d66b8fca26262a003bc2c143cb1871cdc4d1c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1792702 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#695628}
Showing
Please register or sign in to comment