diff options
author | Jacek Caban <jacek@codeweavers.com> | 2025-07-28 08:01:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-28 17:01:26 +0200 |
commit | 1ab04fc94c5f68ad0dc6755e3914f2895b85e720 (patch) | |
tree | 2865f956888137ba2bbe0e003a6cfd5c52da00f4 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | fe4f6c1a58ab4f00a88a97af01000b6783b573ee (diff) | |
download | llvm-1ab04fc94c5f68ad0dc6755e3914f2895b85e720.zip llvm-1ab04fc94c5f68ad0dc6755e3914f2895b85e720.tar.gz llvm-1ab04fc94c5f68ad0dc6755e3914f2895b85e720.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions