[PATCH] D153215: [Object] Add ELF section type SHT_LLVM_LTO for fat LTO
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 11:05:11 PDT 2023
MaskRay added a comment.
In D153215#4430886 <https://reviews.llvm.org/D153215#4430886>, @nikic wrote:
> Why is a new section type necessary? Will this cause any compatibility issues with old binutils versions?
ELF's spirit is to distinguish special sections with a section type instead of a name. (Older object file formats (COFF,Mach-O) don't use this convention, it's fine.)
If we need to perform special tasks with the section, we can use an integer comparison instead of a string comparison.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153215/new/
https://reviews.llvm.org/D153215
More information about the llvm-commits
mailing list