Home
last modified time | relevance | path

Searched refs:StubOrErr (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/InterfaceStub/
DELFYAMLTest.cpp44 Expected<std::unique_ptr<ELFStub>> StubOrErr = readTBEFromBuffer(Data); in TEST() local
45 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() local
70 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() local
129 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 …]
/external/llvm-project/llvm/tools/llvm-elfabi/
Dllvm-elfabi.cpp134 Expected<std::unique_ptr<ELFStub>> StubOrErr = readInputFile(InputFilePath); in main() local
135 if (!StubOrErr) in main()
136 fatalError(StubOrErr.takeError()); in main()
138 std::unique_ptr<ELFStub> TargetStub = std::move(StubOrErr.get()); in main()
/external/llvm-project/llvm/tools/llvm-ifs/
Dllvm-ifs.cpp389 Expected<std::unique_ptr<IFSStub>> StubOrErr = readInputFile(InputFilePath); in main() local
390 if (!StubOrErr) { in main()
391 WithColor::error() << StubOrErr.takeError() << "\n"; in main()
394 std::unique_ptr<IFSStub> TargetStub = std::move(StubOrErr.get()); in main()