[PATCH] D115051: Enable pdbpagesize to allow support for PDB file sizes > 4GB

Chris Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 3 10:18:51 PST 2021


chrdavis created this revision.
chrdavis added reviewers: thakis, akrieger, rnkovacs.
chrdavis added projects: LLVM, lld.
Herald added a subscriber: hiraditya.
chrdavis requested review of this revision.
Herald added a subscriber: llvm-commits.

Enable the pdbpagesize flag to allow linking of PDB files > 4GB.  Also includes a couple small fixes to change to uint64_t to support the larger file sizes.  I updated the max file size check in MSFBuilder.cpp to take into account the page size.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115051

Files:
  lld/COFF/DriverUtils.cpp
  llvm/include/llvm/DebugInfo/MSF/MSFCommon.h
  llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h
  llvm/lib/DebugInfo/MSF/MSFBuilder.cpp
  llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp
  llvm/tools/llvm-pdbutil/PdbYaml.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115051.391666.patch
Type: text/x-patch
Size: 3927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211203/cdff8804/attachment.bin>


More information about the llvm-commits mailing list