We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 322cbea commit 8522aa9Copy full SHA for 8522aa9
llvm/include/llvm/Object/ELFTypes.h
@@ -529,11 +529,6 @@ struct Elf_Ehdr_Impl {
529
530
unsigned char getFileClass() const { return e_ident[ELF::EI_CLASS]; }
531
unsigned char getDataEncoding() const { return e_ident[ELF::EI_DATA]; }
532
- bool hasPhdrNumExtension() const {
533
- return (e_phnum == ELF::PN_XNUM || e_shnum == ELF::SHN_UNDEF ||
534
- e_shstrndx == ELF::SHN_XINDEX) &&
535
- e_shoff != 0;
536
- }
537
};
538
539
template <endianness Endianness>
0 commit comments