[lld] [llvm] [Object][ELF] Support extended header for Object Parser in ELF (PR #162288)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 8 00:38:27 PDT 2025
================
@@ -278,9 +278,17 @@ class ELFFile {
std::vector<Elf_Shdr> FakeSections;
SmallString<0> FakeSectionStrings;
+ // Handle extended header in section 0
+ Elf_Word e_phnum;
+ Elf_Word e_shnum;
+ Elf_Word e_shstrndx;
----------------
jh7370 wrote:
Since these values aren't the raw values in the header, let's not confuse things by naming them after those fields.
https://github.com/llvm/llvm-project/pull/162288
More information about the llvm-commits
mailing list