[lld] [lld][COFF] Don't truncate .llvm. and llvm_ section names (PR #229112)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 7 01:54:57 PDT 2026
matthew-j-code wrote:
> Is it not possible to consider a compliant name on PE/COFF? `.lloffld` or `.offload` would fit the constraints and while it shuffles the work to the consumer, it remains more portable.
This would certainly be possible, but we can't think of a scenario where this kind of portability would matter: the contents of these .llvm sections (metadata, bitcode, ...) are only relevant in an LLVM environment and can only be parsed by LLVM tooling, so any consumer will always have LLVM's long-section-name-aware COFF reader available. This is different from @mstorsjo libunwind scenario, which has a section with dedicated metadata that can be parsed by libunwind without requiring libLLVM.
https://github.com/llvm/llvm-project/pull/229112
More information about the llvm-commits
mailing list