Home
last modified time | relevance | path

Searched refs:ResOrErr (Results 1 – 4 of 4) 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp94 static bool error(Expected<T> &ResOrErr) { in error() argument
95 if (ResOrErr) in error()
97 logAllUnhandledErrors(ResOrErr.takeError(), errs(), in error()
185 auto ResOrErr = Symbolizer.symbolizeData(ModuleName, ModuleOffset); in main() local
186 Printer << (error(ResOrErr) ? DIGlobal() : ResOrErr.get()); in main()
188 auto ResOrErr = in main() local
190 Printer << (error(ResOrErr) ? DIInliningInfo() in main()
191 : ResOrErr.get()); in main()
193 auto ResOrErr = in main() local
195 Printer << (error(ResOrErr) ? DILineInfo() : ResOrErr.get()); in main()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dfunc-id-helper.cpp33 if (auto ResOrErr = Symbolizer.symbolizeCode(BinaryInstrMap, It->second)) { in SymbolOrNumber() local
34 auto &DI = *ResOrErr; in SymbolOrNumber()
40 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber()
55 auto ResOrErr = Symbolizer.symbolizeCode(BinaryInstrMap, It->second); in FileLineAndColumn() local
56 if (!ResOrErr) { in FileLineAndColumn()
57 consumeError(ResOrErr.takeError()); in FileLineAndColumn()
61 auto &DI = *ResOrErr; in FileLineAndColumn()