================
@@ -1,6 +1,7 @@
 #include <cassert>
 #include <iostream>
 #include <thread>
+thread_local size_t lf = 42;
----------------
labath wrote:

To be sure thread-locals work properly, I'd suggest also creating a shared 
library (which is dlopened at runtime) and creating a non-main thread, which 
will be used to access the value of the variable.

https://github.com/llvm/llvm-project/pull/109477
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to