Searched refs:ObjOrErr (Results 1 – 8 of 8) sorted by relevance
81 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in DumpInput() local83 if (std::error_code EC = ObjOrErr.getError()) { in DumpInput()87 ObjectFile &Obj = *ObjOrErr.get(); in DumpInput()
97 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in createObjectFile() local99 if (std::error_code EC = ObjOrErr.getError()) in createObjectFile()101 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()
327 ErrorOr<std::unique_ptr<MachOObjectFile>> ObjOrErr = Obj.getAsObjectFile(); in dumpMachOUniversalBinary() local328 if (ObjOrErr) in dumpMachOUniversalBinary()329 dumpObject(&*ObjOrErr.get()); in dumpMachOUniversalBinary()333 reportError(UBinary->getFileName(), ObjOrErr.getError().message()); in dumpMachOUniversalBinary()
1058 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in dumpSymbolNamesFromFile() local1064 if (ObjOrErr) { in dumpSymbolNamesFromFile()1065 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()1124 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local1127 if (ObjOrErr) { in dumpSymbolNamesFromFile()1128 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()1162 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in dumpSymbolNamesFromFile() local1167 if (ObjOrErr) { in dumpSymbolNamesFromFile()1168 ObjectFile &Obj = *ObjOrErr.get(); in dumpSymbolNamesFromFile()
345 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in claim_file_hook() local347 std::error_code EC = ObjOrErr.getError(); in claim_file_hook()359 std::unique_ptr<object::IRObjectFile> Obj = std::move(*ObjOrErr); in claim_file_hook()595 ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = in getModuleForFile() local598 if (std::error_code EC = ObjOrErr.getError()) in getModuleForFile()602 object::IRObjectFile &Obj = **ObjOrErr; in getModuleForFile()
703 ErrorOr<std::unique_ptr<object::SymbolicFile>> ObjOrErr = in writeSymbolTable() local706 if (!ObjOrErr) in writeSymbolTable()708 object::SymbolicFile &Obj = *ObjOrErr.get(); in writeSymbolTable()
1591 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = in ParseInputMachO() local1596 if (ObjOrErr) { in ParseInputMachO()1597 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()1638 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local1641 if (ObjOrErr) { in ParseInputMachO()1642 ObjectFile &O = *ObjOrErr.get(); in ParseInputMachO()1672 ErrorOr<std::unique_ptr<ObjectFile>> ObjOrErr = I->getAsObjectFile(); in ParseInputMachO() local1676 if (ObjOrErr) { in ParseInputMachO()1677 ObjectFile &Obj = *ObjOrErr.get(); in ParseInputMachO()