1#include <unistd.h>
2
3__thread int var_shared = 33;
4
5int
6touch_shared()
7{
8 return var_shared;
9}
10
11void shared_check()
12{
13 var_shared *= 2;
14 usleep(useconds: 1); // shared thread breakpoint
15}
16

source code of lldb/test/API/lang/c/tls_globals/a.c