[PATCH] D153215: [Object] Add ELF section type SHT_LLVM_LTO for fat LTO
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 19 01:23:29 PDT 2023
jhenderson added a comment.
Is it worth an llvm-objdump test too?
Functionally looks fine, but I have no opinion on the overall feature itself (and therefore whether a new section type etc is needed for it).
I will say that if the feature has been accepted, a new section type would seem appropriate, so that tooling can handle it appropriately without having to check section names.
================
Comment at: llvm/include/llvm/BinaryFormat/ELF.h:1039
SHT_LLVM_OFFLOADING = 0x6fff4c0b, // LLVM device offloading data.
+ SHT_LLVM_LTO = 0x6fff4c0c, // .llvm.lto for fat LTO.
// Android's experimental support for SHT_RELR sections.
----------------
Perhaps `SHT_LLVM_FAT_LTO` so that it is a little more self-descriptive? (Equivalent comment applies to the section name and similar bits of data)
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