[all-commits] [llvm/llvm-project] 7e51c0: [LLD][COFF] Allow symbols with empty chunks to hav...
Jacek Caban via All-commits
all-commits at lists.llvm.org
Thu Jul 31 23:55:00 PDT 2025
Branch: refs/heads/release/21.x
Home: https://github.com/llvm/llvm-project
Commit: 7e51c08c82c50afc75cd3adb50ffa60aee832fb4
https://github.com/llvm/llvm-project/commit/7e51c08c82c50afc75cd3adb50ffa60aee832fb4
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2025-08-01 (Fri, 01 Aug 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.
(cherry picked from commit 1ab04fc94c5f68ad0dc6755e3914f2895b85e720)
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