Searched refs:ErrOrObj (Results 1 – 3 of 3) sorted by relevance
127 auto ErrOrObj = Get(T); in GetAs() local128 if (auto Err = ErrOrObj.getError()) in GetAs()130 return cast<ObjectFileType>(*ErrOrObj); in GetAs()
3282 auto ErrOrObj = BinaryHolder.Get(Map.getTriple()); in loadObject() local3283 if (std::error_code EC = ErrOrObj.getError()) in loadObject()3285 return ErrOrObj; in loadObject()3299 auto ErrOrObj = loadObject(ObjHolder, Obj, ModuleMap); in loadClangModule() local3300 if (!ErrOrObj) { in loadClangModule()3338 DWARFContextInMemory DwarfContext(*ErrOrObj); in loadClangModule()3437 auto ErrOrObj = loadObject(BinHolder, *Obj, Map); in link() local3438 if (!ErrOrObj) in link()3443 if (!RelocMgr.findValidRelocsInDebugInfo(*ErrOrObj, *Obj)) { in link()3450 DWARFContextInMemory DwarfContext(*ErrOrObj); in link()
496 auto ErrOrObj = object::ObjectFile::createObjectFile(Input); in write() local497 if (!ErrOrObj) in write()498 return ErrOrObj.takeError(); in write()500 auto &Obj = *ErrOrObj->getBinary(); in write()501 Objects.push_back(std::move(*ErrOrObj)); in write()