Searched refs:BinOrErr (Results 1 – 4 of 4) sorted by relevance
98 ErrorOr<std::unique_ptr<Binary>> BinOrErr = in DumpInput() local100 error(Filename, BinOrErr.getError()); in DumpInput()102 if (auto *Obj = dyn_cast<ObjectFile>(BinOrErr->get())) in DumpInput()104 else if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get())) in DumpInput()
84 ErrorOr<std::unique_ptr<Binary>> BinOrErr = in createBinary() local86 if (std::error_code EC = BinOrErr.getError()) in createBinary()88 std::unique_ptr<Binary> &Bin = BinOrErr.get(); in createBinary()
294 ErrorOr<OwningBinary<Binary>> BinOrErr = createBinary(Path); in getOrCreateObject() local295 if (auto EC = BinOrErr.getError()) { in getOrCreateObject()299 Bin = BinOrErr->getBinary(); in getOrCreateObject()300 BinaryForPath.insert(std::make_pair(Path, std::move(BinOrErr.get()))); in getOrCreateObject()
442 auto BinOrErr = object::createBinary(ObjectBuffer); in loadBinaryFormat() local443 if (std::error_code EC = BinOrErr.getError()) in loadBinaryFormat()445 auto Bin = std::move(BinOrErr.get()); in loadBinaryFormat()