[LLVMdev] Thread local data and atomic instructions

Anton Korobeynikov anton at korobeynikov.info
Sat Nov 21 10:15:19 PST 2009


> How does llvm-gcc handle thread local data on Darwin then?
It doesn't:

$ cat thread.c
__thread int foo;

$ gcc thread.c
thread.c:1: error: thread-local storage not supported for this target

$ llvm-gcc thread.c
thread.c:1: error: thread-local storage not supported for this target
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list