reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-readobj/ELFDumper.cpp
 5151       W.printBinary("Magic", makeArrayRef(E->e_ident).slice(ELF::EI_MAG0, 4));
 5152       W.printEnum("Class", E->e_ident[ELF::EI_CLASS], makeArrayRef(ElfClass));
 5153       W.printEnum("DataEncoding", E->e_ident[ELF::EI_DATA],
 5155       W.printNumber("FileVersion", E->e_ident[ELF::EI_VERSION]);
 5158       if (E->e_ident[ELF::EI_OSABI] >= ELF::ELFOSABI_FIRST_ARCH &&
 5159           E->e_ident[ELF::EI_OSABI] <= ELF::ELFOSABI_LAST_ARCH) {
 5160         switch (E->e_machine) {
 5172       W.printEnum("OS/ABI", E->e_ident[ELF::EI_OSABI], OSABI);
 5173       W.printNumber("ABIVersion", E->e_ident[ELF::EI_ABIVERSION]);
 5174       W.printBinary("Unused", makeArrayRef(E->e_ident).slice(ELF::EI_PAD));
 5177     W.printEnum("Type", E->e_type, makeArrayRef(ElfObjectFileType));
 5178     W.printEnum("Machine", E->e_machine, makeArrayRef(ElfMachineType));
 5179     W.printNumber("Version", E->e_version);
 5180     W.printHex("Entry", E->e_entry);
 5181     W.printHex("ProgramHeaderOffset", E->e_phoff);
 5182     W.printHex("SectionHeaderOffset", E->e_shoff);
 5183     if (E->e_machine == EM_MIPS)
 5184       W.printFlags("Flags", E->e_flags, makeArrayRef(ElfHeaderMipsFlags),
 5187     else if (E->e_machine == EM_AMDGPU)
 5188       W.printFlags("Flags", E->e_flags, makeArrayRef(ElfHeaderAMDGPUFlags),
 5190     else if (E->e_machine == EM_RISCV)
 5191       W.printFlags("Flags", E->e_flags, makeArrayRef(ElfHeaderRISCVFlags));
 5193       W.printFlags("Flags", E->e_flags);
 5194     W.printNumber("HeaderSize", E->e_ehsize);
 5195     W.printNumber("ProgramHeaderEntrySize", E->e_phentsize);
 5196     W.printNumber("ProgramHeaderCount", E->e_phnum);
 5197     W.printNumber("SectionHeaderEntrySize", E->e_shentsize);