Home
last modified time | relevance | path

Searched refs:ObjOrErr (Results 1 – 4 of 4) sorted by relevance

/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp77 ErrorOr<ObjectFile *> ObjOrErr(ObjectFile::createObjectFile(Buff.get())); in DumpInput() local
78 if (std::error_code EC = ObjOrErr.getError()) { in DumpInput()
82 std::unique_ptr<ObjectFile> Obj(ObjOrErr.get()); in DumpInput()
/external/llvm/lib/Object/
DObject.cpp63 ErrorOr<ObjectFile *> ObjOrErr(ObjectFile::createObjectFile(Buf)); in LLVMCreateObjectFile() local
65 ObjectFile *Obj = ObjOrErr ? ObjOrErr.get() : nullptr; in LLVMCreateObjectFile()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp872 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local
875 if (ObjOrErr) { in dumpSymbolNamesFromFile()
876 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in dumpSymbolNamesFromFile()
922 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local
924 if (ObjOrErr) { in dumpSymbolNamesFromFile()
925 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in dumpSymbolNamesFromFile()
954 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local
956 if (ObjOrErr) { in dumpSymbolNamesFromFile()
957 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in dumpSymbolNamesFromFile()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp701 ErrorOr<object::SymbolicFile *> ObjOrErr = in writeSymbolTable() local
704 if (!ObjOrErr) in writeSymbolTable()
706 std::unique_ptr<object::SymbolicFile> Obj(ObjOrErr.get()); in writeSymbolTable()