Home
last modified time | relevance | path

Searched refs:ResOrErr (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp86 auto ResOrErr = callAsyncWithSeq<VoidBool>(C1, true); in TEST_F() local
87 EXPECT_TRUE(!!ResOrErr) << "Simple call over queue failed"; in TEST_F()
100 auto EC = waitForResult(C1, ResOrErr->second, handleNone); in TEST_F()
105 auto Val = ResOrErr->first.get(); in TEST_F()
115 auto ResOrErr = callAsyncWithSeq<IntInt>(C1, 21); in TEST_F() local
116 EXPECT_TRUE(!!ResOrErr) << "Simple call over queue failed"; in TEST_F()
129 auto EC = waitForResult(C1, ResOrErr->second, handleNone); in TEST_F()
134 auto Val = ResOrErr->first.get(); in TEST_F()
146 auto ResOrErr = callAsyncWithSeq<AllTheTypes>( in TEST_F() local
149 EXPECT_TRUE(!!ResOrErr) << "Big (serialization test) call over queue failed"; in TEST_F()
[all …]
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp90 static bool error(Expected<T> &ResOrErr) { in error() argument
91 if (ResOrErr) in error()
93 logAllUnhandledErrors(ResOrErr.takeError(), errs(), in error()
189 auto ResOrErr = Symbolizer.symbolizeData(ModuleName, ModuleOffset); in main() local
190 Printer << (error(ResOrErr) ? DIGlobal() : ResOrErr.get()); in main()
192 auto ResOrErr = Symbolizer.symbolizeInlinedCode(ModuleName, ModuleOffset); in main() local
193 Printer << (error(ResOrErr) ? DIInliningInfo() in main()
194 : ResOrErr.get()); in main()
196 auto ResOrErr = Symbolizer.symbolizeCode(ModuleName, ModuleOffset); in main() local
197 Printer << (error(ResOrErr) ? DILineInfo() : ResOrErr.get()); in main()