class AsyncDwarfExprEvalValue
Defined at line 101 of file ../../src/developer/debug/zxdb/expr/eval_dwarf_expr.h
Automatically converts the result of the DwarfExprEval to an EvalCallback (an error or a value).
See the simpler DwarfExprToValue() function above for cases that don't need low-level access to
the DwarfExprEval object.
Example:
auto eval = fxl::MakeRefCounted
<AsyncDwarfExprEvalValue
>(context, type, std::move(cb));
...any required setup of the dwarf_eval()...
eval->Eval(context->GetDataProvider(), expression);
Protected Methods
void AsyncDwarfExprEvalValue (UnitSymbolFactorysymbol_factory,fxl::RefPtr<SymbolDataProvider>data_provider,const SymbolContext &expr_symbol_context,const fxl::RefPtr<EvalContext> &context,fxl::RefPtr<Type>type,EvalCallbackcb)
The callback passed to the base class can capture |this| because we're the same object.
Defined at line 89 of file ../../src/developer/debug/zxdb/expr/eval_dwarf_expr.cc
Friends
class MakeRefCountedHelper
class RefCountedThreadSafe