Searched refs:ObjFile (Results 1 – 6 of 6) sorted by relevance
54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj() argument61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()64 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()70 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()90 if (ObjFile.getBinary()->isELF()) { in loadObj()91 uint32_t RelativeRelocation = [](object::ObjectFile *ObjFile) { in loadObj() argument92 if (const auto *ELFObj = dyn_cast<object::ELF32LEObjectFile>(ObjFile)) in loadObj()94 else if (const auto *ELFObj = dyn_cast<object::ELF32BEObjectFile>(ObjFile)) in loadObj()[all …]
98 Expected<std::unique_ptr<ObjectFile>> ObjFile = in findBitcodeInMemBuffer() local100 if (!ObjFile) in findBitcodeInMemBuffer()101 return ObjFile.takeError(); in findBitcodeInMemBuffer()102 return findBitcodeInObject(*ObjFile->get()); in findBitcodeInMemBuffer()
179 struct ObjFile {180 ObjFile()245 // An AddrMap is a vector of ObjFile, using SigSafeArena() for allocation.252 ObjFile *At(int i) { return &obj_[i]; }253 ObjFile *Add();259 ObjFile *obj_; // array of allocated_ elements266 At(i)->~ObjFile();271 ObjFile *AddrMap::Add() {274 ObjFile *new_obj_ =275 static_cast<ObjFile *>(base_internal::LowLevelAlloc::AllocWithArena([all …]
127 std::unique_ptr<object::ObjectFile> ObjFile; in addObjectFile() local129 std::tie(ObjFile, MemBuf) = Obj.takeBinary(); in addObjectFile()130 addObjectFile(std::move(ObjFile)); in addObjectFile()
332 const auto *ObjFile = DObj->getFile(); in dump() local334 dumpUUID(OS, *ObjFile); in dump()