[lldb-dev] [BUG] Many lookup failures
Ramkumar Ramachandra via lldb-dev
lldb-dev at lists.llvm.org
Wed Nov 25 10:00:50 PST 2015
Hi,
Basic things are failing.
(lldb) p lhs
(CG::VarExpr *) $0 = 0x000000010d445ca0
(lldb) p lhs->rootStmt()
(CG::ExprStmt *) $1 = 0x000000010d446290
(lldb) p cg_pp_see_it(lhs->rootStmt())
(const char *) $2 = 0x000000010d448020 "%A = $3;"
(lldb) p cg_pp_see_it(def->rootStmt())
error: no member named 'rootStmt' in 'CG::Node'
error: 1 errors parsing expression
(lldb) p cg_pp_see_it(def)
error: no matching function for call to 'cg_pp_see_it'
note: candidate function not viable: no known conversion from
'CG::Node *' to 'CG_Obj *' for 1st argument
error: 1 errors parsing expression
It's total junk; why can't it see the inheritance VarExpr -> Node ->
CG_Obj? The worst part is that rootStmt() is a function defined on
Node!
Ram
More information about the lldb-dev
mailing list