diff options
author | Kat Marchán <kzm@zkat.tech> | 2018-04-06 18:22:01 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2018-04-11 04:20:58 +0300 |
commit | cfe562c5803db08a8d88957828a2cd1cc51a8dd5 (patch) | |
tree | 0d9fa66b451e7f63deef04a703c6c91dabeb313e /node_modules/node-gyp/gyp/data | |
parent | a45df5314fcc85e42964a6d3076e1c12d5967c88 (diff) |
node-gyp@3.6.2
Fixes: #20163
Credit: @zkat
PR-URL: https://github.com/npm/npm/pull/20276
Reviewed-By: @iarna
Diffstat (limited to 'node_modules/node-gyp/gyp/data')
-rw-r--r-- | node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc b/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc new file mode 100644 index 000000000..8bca51081 --- /dev/null +++ b/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc @@ -0,0 +1,12 @@ +// Copyright (c) 2013 Google Inc. 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 4KB pagesize -- that is +// then used during the final link for modules that have large PDBs. Otherwise, +// the linker will generate a pdb with a page size of 1KB, which imposes a limit +// of 1GB on the .pdb. By generating an initial empty .pdb with the compiler +// (rather than the linker), this limit is avoided. With this in place PDBs may +// grow to 2GB. +// +// This file is referenced by the msvs_large_pdb mechanism in MSVSUtil.py. |