Searched refs:ErrOrObj (Results 1 – 3 of 3) sorted by relevance
126 auto ErrOrObj = Get(T); in GetAs() local127 if (auto Err = ErrOrObj.getError()) in GetAs()129 return cast<ObjectFileType>(*ErrOrObj); in GetAs()
3222 auto ErrOrObj = BinaryHolder.Get(Map.getTriple()); in loadObject() local3223 if (std::error_code EC = ErrOrObj.getError()) in loadObject()3225 return ErrOrObj; in loadObject()3239 auto ErrOrObj = loadObject(ObjHolder, Obj, ModuleMap); in loadClangModule() local3240 if (!ErrOrObj) { in loadClangModule()3248 DWARFContextInMemory DwarfContext(*ErrOrObj); in loadClangModule()3339 auto ErrOrObj = loadObject(BinHolder, *Obj, Map); in link() local3340 if (!ErrOrObj) in link()3345 if (!RelocMgr.findValidRelocsInDebugInfo(*ErrOrObj, *Obj)) { in link()3352 DWARFContextInMemory DwarfContext(*ErrOrObj); in link()
260 auto ErrOrObj = object::ObjectFile::createObjectFile(Input); in write() local261 if (!ErrOrObj) in write()262 return ErrOrObj.getError(); in write()273 for (const auto &Section : ErrOrObj->getBinary()->sections()) { in write()