[Lldb-commits] [lldb] r336991 - Add abbreviated name for Debugger::EventHandlerThread.

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 16 04:16:53 PDT 2018


On Fri, 13 Jul 2018 at 18:36, Jim Ingham via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
>
> There's code in the ThreadHandler to handle systems with short thread names.  If that isn't producing readable names, we should fix it there.  A better algorithm might be to drop the leading "lldb" and then instead of truncating drop vowels (maybe leaving the first vowel after a .)  So you'd get "dbggr.evnt-hndlr" which isn't too bad.  Could drop duplicated consonants too.  It seems a shame for every caller to have to worry about this.

+1 for this idea.


More information about the lldb-commits mailing list