Home
last modified time | relevance | path

Searched refs:ErrOrObj (Results 1 – 5 of 5) sorted by relevance

/external/llvm/tools/dsymutil/
DBinaryHolder.h127 auto ErrOrObj = Get(T); in GetAs() local
128 if (auto Err = ErrOrObj.getError()) in GetAs()
130 return cast<ObjectFileType>(*ErrOrObj); in GetAs()
DDwarfLinker.cpp3282 auto ErrOrObj = BinaryHolder.Get(Map.getTriple()); in loadObject() local
3283 if (std::error_code EC = ErrOrObj.getError()) in loadObject()
3285 return ErrOrObj; in loadObject()
3299 auto ErrOrObj = loadObject(ObjHolder, Obj, ModuleMap); in loadClangModule() local
3300 if (!ErrOrObj) { in loadClangModule()
3338 DWARFContextInMemory DwarfContext(*ErrOrObj); in loadClangModule()
3437 auto ErrOrObj = loadObject(BinHolder, *Obj, Map); in link() local
3438 if (!ErrOrObj) in link()
3443 if (!RelocMgr.findValidRelocsInDebugInfo(*ErrOrObj, *Obj)) { in link()
3450 DWARFContextInMemory DwarfContext(*ErrOrObj); in link()
/external/llvm-project/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp512 auto ErrOrObj = object::ObjectFile::createObjectFile(ExecFilename); in getDWOFilenames() local
513 if (!ErrOrObj) in getDWOFilenames()
514 return ErrOrObj.takeError(); in getDWOFilenames()
516 const ObjectFile &Obj = *ErrOrObj.get().getBinary(); in getDWOFilenames()
570 auto ErrOrObj = object::ObjectFile::createObjectFile(Input); in write() local
571 if (!ErrOrObj) in write()
572 return ErrOrObj.takeError(); in write()
574 auto &Obj = *ErrOrObj->getBinary(); in write()
575 Objects.push_back(std::move(*ErrOrObj)); in write()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp496 auto ErrOrObj = object::ObjectFile::createObjectFile(Input); in write() local
497 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()
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinker.cpp2096 auto ErrOrObj = Options.ObjFileLoader(File.FileName, Path); in loadClangModule() local
2097 if (!ErrOrObj) in loadClangModule()
2102 for (const auto &CU : ErrOrObj->Dwarf->compile_units()) { in loadClangModule()
2158 DIECloner(*this, TheDwarfEmitter, *ErrOrObj, DIEAlloc, CompileUnits, in loadClangModule()
2160 .cloneAllCompileUnits(*(ErrOrObj->Dwarf), File, StringPool, in loadClangModule()