Searched refs:StubOrErr (Results 1 – 3 of 3) sorted by relevance
44 Expected<std::unique_ptr<ELFStub>> StubOrErr = readTBEFromBuffer(Data); in TEST() local45 ASSERT_THAT_ERROR(StubOrErr.takeError(), Succeeded()); in TEST()46 std::unique_ptr<ELFStub> Stub = std::move(StubOrErr.get()); in TEST()69 Expected<std::unique_ptr<ELFStub>> StubOrErr = readTBEFromBuffer(Data); in TEST() local70 ASSERT_THAT_ERROR(StubOrErr.takeError(), Succeeded()); in TEST()71 std::unique_ptr<ELFStub> Stub = std::move(StubOrErr.get()); in TEST()128 Expected<std::unique_ptr<ELFStub>> StubOrErr = readTBEFromBuffer(Data); in TEST() local129 ASSERT_THAT_ERROR(StubOrErr.takeError(), Succeeded()); in TEST()130 std::unique_ptr<ELFStub> Stub = std::move(StubOrErr.get()); in TEST()143 Expected<std::unique_ptr<ELFStub>> StubOrErr = readTBEFromBuffer(Data); in TEST() local[all …]
134 Expected<std::unique_ptr<ELFStub>> StubOrErr = readInputFile(InputFilePath); in main() local135 if (!StubOrErr) in main()136 fatalError(StubOrErr.takeError()); in main()138 std::unique_ptr<ELFStub> TargetStub = std::move(StubOrErr.get()); in main()
389 Expected<std::unique_ptr<IFSStub>> StubOrErr = readInputFile(InputFilePath); in main() local390 if (!StubOrErr) { in main()391 WithColor::error() << StubOrErr.takeError() << "\n"; in main()394 std::unique_ptr<IFSStub> TargetStub = std::move(StubOrErr.get()); in main()