Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
Dsanitizer_symbolize.cpp45 auto ResOrErr = getDefaultSymbolizer()->symbolizeInlinedCode( in __sanitizer_symbolize_code() local
48 Printer << (ResOrErr ? ResOrErr.get() : llvm::DIInliningInfo()); in __sanitizer_symbolize_code()
50 auto ResOrErr = getDefaultSymbolizer()->symbolizeCode( in __sanitizer_symbolize_code() local
53 Printer << (ResOrErr ? ResOrErr.get() : llvm::DILineInfo()); in __sanitizer_symbolize_code()
68 auto ResOrErr = getDefaultSymbolizer()->symbolizeData( in __sanitizer_symbolize_data() local
71 Printer << (ResOrErr ? ResOrErr.get() : llvm::DIGlobal()); in __sanitizer_symbolize_data()
/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()
/external/llvm-project/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp77 static bool error(Expected<T> &ResOrErr) { in error() argument
78 if (ResOrErr) in error()
80 logAllUnhandledErrors(ResOrErr.takeError(), errs(), in error()
158 auto ResOrErr = Symbolizer.symbolizeData( in symbolizeInput() local
160 Printer << (error(ResOrErr) ? DIGlobal() : ResOrErr.get()); in symbolizeInput()
162 auto ResOrErr = Symbolizer.symbolizeFrame( in symbolizeInput() local
164 if (!error(ResOrErr)) { in symbolizeInput()
165 for (DILocal Local : *ResOrErr) in symbolizeInput()
167 if (ResOrErr->empty()) in symbolizeInput()
171 auto ResOrErr = Symbolizer.symbolizeInlinedCode( in symbolizeInput() local
[all …]
/external/llvm-project/llvm/tools/llvm-xray/
Dfunc-id-helper.cpp37 if (auto ResOrErr = Symbolizer.symbolizeCode(BinaryInstrMap, ModuleAddress)) { in SymbolOrNumber() local
38 auto &DI = *ResOrErr; in SymbolOrNumber()
44 handleAllErrors(ResOrErr.takeError(), [&](const ErrorInfoBase &) { in SymbolOrNumber()
64 auto ResOrErr = Symbolizer.symbolizeCode(BinaryInstrMap, ModuleAddress); in FileLineAndColumn() local
65 if (!ResOrErr) { in FileLineAndColumn()
66 consumeError(ResOrErr.takeError()); in FileLineAndColumn()
70 auto &DI = *ResOrErr; in FileLineAndColumn()