[all-commits] [llvm/llvm-project] f964ca: [lld/coff] Add parsing for /pdbpagesize: flag

Nico Weber via All-commits all-commits at lists.llvm.org
Sun Oct 31 15:36:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f964ca896f5e2779d178148bc86b86a8ce977c6d
      https://github.com/llvm/llvm-project/commit/f964ca896f5e2779d178148bc86b86a8ce977c6d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-10-31 (Sun, 31 Oct 2021)

  Changed paths:
    M lld/COFF/Config.h
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/COFF/DriverUtils.cpp
    M lld/COFF/Options.td
    M lld/COFF/PDB.cpp
    A lld/test/COFF/pdbpagesize.test
    M llvm/include/llvm/DebugInfo/MSF/MSFCommon.h

  Log Message:
  -----------
  [lld/coff] Add parsing for /pdbpagesize: flag

It's not used for anything yet, but we now accept `/pdbpagesize:4096`
(the default behavior) and we give arguably more useful diagnostics
for other values.

It's plumbed through to the MSF layer, so just uncommenting out
the bit in DriverUtils.cpp that rejects args other than 4096 is enough
to try other values.

Differential Revision: https://reviews.llvm.org/D112871




More information about the All-commits mailing list