================
@@ -87,7 +87,8 @@ void CommandObjectDWIMPrint::DoExecute(StringRef command,
DumpValueObjectOptions dump_options = m_varobj_options.GetAsDumpOptions(
m_expr_options.m_verbosity, m_format_options.GetFormat());
- dump_options.SetHideRootName(suppress_result);
+ dump_options.SetHideRootName(suppress_result)
+ .SetExpandPointerTypeFlags(lldb::eTypeIsObjC);
----------------
adrian-prantl wrote:
> Is this something we would want for `frame var`/`expr` too? In which case we
> could just check for ObjC in `ValueObjectPrinter::ShouldPrintChildren`
> directly instead of introducing this new API
Should/Could this perhaps be an (NSObject *) data formatter, doing this work,
so it's applied consistently?
https://github.com/llvm/llvm-project/pull/117500
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits