[all-commits] [llvm/llvm-project] 213d0d: [pdb] Provide a better error message when overflow...

Hans Wennborg via All-commits all-commits at lists.llvm.org
Thu May 22 00:31:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 213d0d2233c347e8ae2443e6a3c945dcaf170dce
      https://github.com/llvm/llvm-project/commit/213d0d2233c347e8ae2443e6a3c945dcaf170dce
  Author: Hans Wennborg <hans at hanshq.net>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp

  Log Message:
  -----------
  [pdb] Provide a better error message when overflowing the public/global symbol record stream (#140884)

Before:

lld-link: error: Stream Error: The stream is too short to perform the requested operation.
lld-link: error: failed to write PDB file ./unit_tests.exe.pdb

After:

lld-link: error: the public (2127832912 bytes) and global (2200532960 bytes) symbols
are too large to fit in a PDB file; the maximum total is 4294967295 bytes.
lld-link: error: failed to write PDB file ./unit_tests.exe.pdb



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list