Searched refs:ObjOrErr (Results 1 – 11 of 11) sorted by relevance
27 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in LLVMFuzzerTestOneInput() local29 if (!ObjOrErr) in LLVMFuzzerTestOneInput()31 ObjectFile &Obj = *ObjOrErr.get(); in LLVMFuzzerTestOneInput()
265 auto ObjOrErr = getOrCreateObject(Path, ArchName); in getOrCreateObjectPair() local266 if (auto EC = ObjOrErr.getError()) { in getOrCreateObjectPair()272 ObjectFile *Obj = ObjOrErr.get(); in getOrCreateObjectPair()316 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in getOrCreateObject() local318 if (auto EC = ObjOrErr.getError()) { in getOrCreateObject()323 ObjectFile *Res = ObjOrErr->get(); in getOrCreateObject()325 std::move(ObjOrErr.get()))); in getOrCreateObject()
135 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr = in getFunctionIndexForFile() local137 EC = ObjOrErr.getError(); in getFunctionIndexForFile()141 object::FunctionIndexObjectFile &Obj = **ObjOrErr; in getFunctionIndexForFile()
109 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local111 if (std::error_code EC = ObjOrErr.getError()) in createObjectFile()113 std::unique_ptr<ObjectFile> Obj = std::move(ObjOrErr.get()); in createObjectFile()
64 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr( in LLVMCreateObjectFile() local67 if (!ObjOrErr) in LLVMCreateObjectFile()70 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
234 ErrorOr<std::unique_ptr<object::SymbolicFile>> ObjOrErr = in writeSymbolTable() local237 if (!ObjOrErr) in writeSymbolTable()239 object::SymbolicFile &Obj = *ObjOrErr.get(); in writeSymbolTable()
411 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in claim_file_hook() local413 std::error_code EC = ObjOrErr.getError(); in claim_file_hook()425 std::unique_ptr<object::IRObjectFile> Obj = std::move(*ObjOrErr); in claim_file_hook()583 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr = in getFunctionIndexForFile() local586 if (std::error_code EC = ObjOrErr.getError()) in getFunctionIndexForFile()590 object::FunctionIndexObjectFile &Obj = **ObjOrErr; in getFunctionIndexForFile()610 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in getModuleForFile() local613 if (std::error_code EC = ObjOrErr.getError()) in getModuleForFile()617 object::IRObjectFile &Obj = **ObjOrErr; in getModuleForFile()
402 ErrorOr<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary() local403 if (ObjOrErr) in dumpMachOUniversalBinary()404 dumpObject(&*ObjOrErr.get()); in dumpMachOUniversalBinary()408 reportError(UBinary->getFileName(), ObjOrErr.getError().message()); in dumpMachOUniversalBinary()
364 ErrorOr<std::unique_ptr<object::FunctionIndexObjectFile>> ObjOrErr = in getFunctionIndexForFile() local367 if (std::error_code EC = ObjOrErr.getError()) { in getFunctionIndexForFile()371 return (*ObjOrErr)->takeIndex(); in getFunctionIndexForFile()
1071 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local1077 if (ObjOrErr) { in dumpSymbolNamesFromFile()1078 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()1140 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local1143 if (ObjOrErr) { in dumpSymbolNamesFromFile()1144 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()1181 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local1186 if (ObjOrErr) { in dumpSymbolNamesFromFile()1187 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
1522 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in ParseInputMachO() local1527 if (ObjOrErr) { in ParseInputMachO()1528 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()1572 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local1575 if (ObjOrErr) { in ParseInputMachO()1576 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()1609 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local1613 if (ObjOrErr) { in ParseInputMachO()1614 ObjectFile &Obj = *ObjOrErr.get(); in ParseInputMachO()