Lines Matching defs:ELF
871 // OK, this is ELF
881 if (Binding == ELF::STB_GNU_UNIQUE)
884 assert(Binding != ELF::STB_WEAK && "STB_WEAK not tested in calling function");
885 if (Binding != ELF::STB_GLOBAL && Binding != ELF::STB_LOCAL)
892 if (Flags & ELF::SHF_EXECINSTR)
894 if (Type == ELF::SHT_NOBITS)
896 if (Flags & ELF::SHF_ALLOC)
897 return Flags & ELF::SHF_WRITE ? 'd' : 'r';
906 if (!(Flags & ELF::SHF_WRITE))
1095 elf_symbol_iterator(I)->getELFType() == ELF::STT_OBJECT;
1098 // For ELF object files, Set TypeName to the symbol typename, to be printed
1147 if (ELFSymbolRef(*I).getELFType() == ELF::STT_GNU_IFUNC)
1172 else if (ELFObjectFileBase *ELF = dyn_cast<ELFObjectFileBase>(&Obj)) {
1173 Ret = getSymbolNMTypeChar(*ELF, I);
1174 if (ELFSymbolRef(*I).getBinding() == ELF::STB_GNU_UNIQUE)
1690 // The -X option is currently only implemented for XCOFF, ELF, and IR object
1831 // Don't drop format specifc symbols for ARM and AArch64 ELF targets, they
1836 ELFObj && llvm::is_contained({ELF::EM_ARM, ELF::EM_AARCH64,
1837 ELF::EM_CSKY, ELF::EM_RISCV},