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

Unified Diff: chrome/empty_pdb_workaround.cc

Issue 11968015: Workaround for pdb size being exceeded for Debug non-shared_library builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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 | « chrome/chrome_dll.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/empty_pdb_workaround.cc
diff --git a/chrome/empty_pdb_workaround.cc b/chrome/empty_pdb_workaround.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ba72cb1a43a5e8fa112725d0e75aeb557749fe5c
--- /dev/null
+++ b/chrome/empty_pdb_workaround.cc
@@ -0,0 +1,9 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file is used to generate an empty .pdb -- with a 4K pagesize -- that we
+// then use during the final link for chrome.dll's pdb. Otherwise, the linker
+// will generate a pdb with a page size of 1K, which imposes a limit of 1G on
+// the .pdb which we exceed. By generating a .pdb with the compiler (rather
+// than the linker), this limit is avoided.
« no previous file with comments | « chrome/chrome_dll.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698