aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-07-30 15:39:04 +0200
committerGitHub <noreply@github.com>2025-07-30 16:39:04 +0300
commitfcbbcffd2e6ea30097809ba0cd1e3b6003fa862f (patch)
treebdd38d4d509bd1f7083f861ccdaf42d337749c8b /llvm/lib/CodeGen/ModuloSchedule.cpp
parentdeced287ad1da9a61302e12e0406f8be36f3831b (diff)
downloadllvm-fcbbcffd2e6ea30097809ba0cd1e3b6003fa862f.zip
llvm-fcbbcffd2e6ea30097809ba0cd1e3b6003fa862f.tar.gz
llvm-fcbbcffd2e6ea30097809ba0cd1e3b6003fa862f.tar.bz2
[llvm-objcopy] [COFF] Ignore associative sections in executables (#151143)
COFF associative sections is a feature where relocatable object files can have section snippets marked as related to another section snippet, so they are kept or discarded in relation to that other section snippet. When llvm-objcopy removes sections, it also removes sections that are marked as associative to the removed section (as the associative sections otherwise would end up orphaned). In a linked executable module (EXE or DLL), section associativity is meaningless - thus, we should ignore those fields from the input. After linking, GNU ld keeps the SectionDefinition auxillary part of symbols intact as it was in the source object file, which means that it references section numbers in the source object files. This fixes https://github.com/llvm/llvm-project/issues/53433.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions