summaryrefslogtreecommitdiffstats
path: root/chrome/empty_pdb_workaround.cc
blob: ba72cb1a43a5e8fa112725d0e75aeb557749fe5c (plain)
1
2
3
4
5
6
7
8
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.