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

Unified Diff: build/internal/release_impl_official.gypi

Issue 8963016: Tell the linker in advance to expect a large output size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/internal/release_impl_official.gypi
diff --git a/build/internal/release_impl_official.gypi b/build/internal/release_impl_official.gypi
index ee9df43c90538070852ae363ce5a2533c2a4cd7a..d62e955250c8d8c8b54d13d4a16b5aeb87e768e3 100644
--- a/build/internal/release_impl_official.gypi
+++ b/build/internal/release_impl_official.gypi
@@ -18,7 +18,13 @@
# Get more debug spew from the linker while we're sorting out
# build problems and performance.
# TODO(siggi): Remove these flags after we're out of the woods.
- 'AdditionalOptions': ['/verbose', '/time'],
+ 'AdditionalOptions': [
+ '/time',
M-A Ruel 2011/12/16 14:48:45 I didn't know this flag, cool.
+ # This may reduce memory fragmentation during linking.
+ # The expected size is 40*1024*1024, which gives us about 10M of
+ # headroom as of Dec 16, 2011.
+ '/expectedoutputsize:41943040',
+ ],
'LinkTimeCodeGeneration': '1',
# The /PROFILE flag causes the linker to add a "FIXUP" debug stream to
# the generated PDB. According to MSDN documentation, this flag is only
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698