Searched refs:ObjOrErr (Results 1 – 4 of 4) sorted by relevance
77 ErrorOr<ObjectFile *> ObjOrErr(ObjectFile::createObjectFile(Buff.get())); in DumpInput() local78 if (std::error_code EC = ObjOrErr.getError()) { in DumpInput()82 std::unique_ptr<ObjectFile> Obj(ObjOrErr.get()); in DumpInput()
63 ErrorOr<ObjectFile *> ObjOrErr(ObjectFile::createObjectFile(Buf)); in LLVMCreateObjectFile() local65 ObjectFile *Obj = ObjOrErr ? ObjOrErr.get() : nullptr; in LLVMCreateObjectFile()
872 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local875 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() local924 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() local956 if (ObjOrErr) { in dumpSymbolNamesFromFile()957 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in dumpSymbolNamesFromFile()
701 ErrorOr<object::SymbolicFile *> ObjOrErr = in writeSymbolTable() local704 if (!ObjOrErr) in writeSymbolTable()706 std::unique_ptr<object::SymbolicFile> Obj(ObjOrErr.get()); in writeSymbolTable()