"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc" (11 Apr 2017, 653 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Copyright (c) 2013 Google Inc. All rights reserved.
    2 // Use of this source code is governed by a BSD-style license that can be
    3 // found in the LICENSE file.
    4 
    5 // This file is used to generate an empty .pdb -- with a 4KB pagesize -- that is
    6 // then used during the final link for modules that have large PDBs. Otherwise,
    7 // the linker will generate a pdb with a page size of 1KB, which imposes a limit
    8 // of 1GB on the .pdb. By generating an initial empty .pdb with the compiler
    9 // (rather than the linker), this limit is avoided. With this in place PDBs may
   10 // grow to 2GB.
   11 //
   12 // This file is referenced by the msvs_large_pdb mechanism in MSVSUtil.py.