[Lldb-commits] [lldb] Colorize output when searching for symbols in lldb (PR #69422)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 6 07:33:50 PST 2023
================
@@ -793,8 +852,10 @@ bool Address::Dump(Stream *s, ExecutionContextScope *exe_scope, DumpStyle style,
}
}
}
- if (fallback_style != DumpStyleInvalid)
+ if (fallback_style != DumpStyleInvalid && !name)
return Dump(s, exe_scope, fallback_style, DumpStyleInvalid, addr_size);
+ else if(fallback_style != DumpStyleInvalid && name)
+ return Dump(s, exe_scope, fallback_style, DumpStyleInvalid, addr_size, false, name);
----------------
DavidSpickett wrote:
Single call that always passes `name`.
https://github.com/llvm/llvm-project/pull/69422
More information about the lldb-commits
mailing list