Lines Matching full:objfile
54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile,
61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) ||
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 ||
63 ObjFile.getBinary()->getArch() == Triple::loongarch64 ||
64 ObjFile.getBinary()->getArch() == Triple::ppc64le ||
65 ObjFile.getBinary()->getArch() == Triple::arm ||
66 ObjFile.getBinary()->getArch() == Triple::aarch64 ||
67 ObjFile.getBinary()->getArch() == Triple::riscv64))
74 const auto &Sections = ObjFile.getBinary()->sections();
95 if (ObjFile.getBinary()->isELF()) {
96 uint32_t RelativeRelocation = [](object::ObjectFile *ObjFile) {
97 if (const auto *ELFObj = dyn_cast<object::ELF32LEObjectFile>(ObjFile))
100 dyn_cast<object::ELF32BEObjectFile>(ObjFile))
103 dyn_cast<object::ELF64LEObjectFile>(ObjFile))
106 dyn_cast<object::ELF64BEObjectFile>(ObjFile))
110 }(ObjFile.getBinary());
115 object::getRelocationResolver(*ObjFile.getBinary());
119 if (ObjFile.getBinary()->getArch() == Triple::arm) {
148 bool Is32Bit = ObjFile.getBinary()->makeTriple().isArch32Bit();