[Lldb-commits] [PATCH] Add Host::GetMaxThreadNameLength(), modify private state thread name

Ed Maste emaste at freebsd.org
Fri Jul 11 08:52:17 PDT 2014

On 11 July 2014 11:04, Todd Fiala <todd.fiala at gmail.com> wrote:
> Hi all,
> This patch looks to provide a non-#ifdef manner to help choose better
> debugger-defined thread names when operating on platforms that don't support
> long thread names.  We have code that attempts to pick a smarter short name
> when a longer thread name is too long to set, but that can fail too when the
> shortened variant is still too long.

I'm happy with this change, although it could be done as a
compile-time constant instead, no?

More information about the lldb-commits mailing list