Re: [RFC 0/6] Demangle minimal symbol names in worker threads

Eli Zaretskii
2019-03-16T07:52:13Z

> From: Tom Tromey <tom@tromey.com>
> Cc: tom@tromey.com, gdb-patches@sourceware.org
> Date: Fri, 15 Mar 2019 17:40:54 -0600
>
> Could you see if thread-locals work?
> A simple program like:
>
> thread_local int x;
>
> ... should be enough to check, though maybe adding a main() and making
> sure it could link would also be good.

Yes, the simple program below compiles, runs, and returns zero status.

thread_local int x;

int main (void)
{
return x;
}