aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2025-07-28 08:01:26 -0700
committerGitHub <noreply@github.com>2025-07-28 17:01:26 +0200
commit1ab04fc94c5f68ad0dc6755e3914f2895b85e720 (patch)
tree2865f956888137ba2bbe0e003a6cfd5c52da00f4 /clang/lib/CodeGen/CodeGenModule.cpp
parentfe4f6c1a58ab4f00a88a97af01000b6783b573ee (diff)
downloadllvm-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