[lldb-dev] Odd behavior with test TestThreadSelectionBug.py

2019-05-14 Thread Ted Woodward via lldb-dev
This test uses the responder and a python OS plugin. When I run the full test suite, it passes, with this thread list: runCmd: thread list output: Process 1 stopped * thread #1: tid = 0x0001, 0x, name = 'one', queue = 'queue1' thread #2: tid = 0x0002, 0x, name = 'two', queue = 'q

[lldb-dev] Access to TLS variables on GNU/Linux

2019-05-14 Thread Florian Weimer via lldb-dev
I'm trying to access thread-local variables using the API on GNU/Linux. Here's my test program: #include #include #include #include #include #include thread_local int global_tls_variable __attribute__ ((tls_model ("initial-exec")))= 17; int main(void) { // Target process for the debug