[all-commits] [llvm/llvm-project] 1ab04f: [LLD][COFF] Allow symbols with empty chunks to hav...

Jacek Caban via All-commits all-commits at lists.llvm.org
Mon Jul 28 08:01:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ab04fc94c5f68ad0dc6755e3914f2895b85e720
      https://github.com/llvm/llvm-project/commit/1ab04fc94c5f68ad0dc6755e3914f2895b85e720
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M lld/COFF/PDB.cpp
    A lld/test/COFF/pdb-empty-sec.s

  Log Message:
  -----------
  [LLD][COFF] Allow symbols with empty chunks to have no associated output section in the PDB writer (#149523)

If a chunk is empty and there are no other non-empty chunks in the same
section, `removeEmptySections()` will remove the entire section. In this
case, use a section index of 0, as the MSVC linker does, instead of
asserting.



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