[LLVMdev] thread_local

Chris Lattner sabre at nondot.org
Wed Jul 11 09:24:41 PDT 2007


On Wed, 11 Jul 2007, Bram Adams wrote:
> This weekend, I've noticed that GlobalVariable's could be declared as 
> thread-local in LLVM 2.0. However, when using it on a small example 
> (OSX), I got the following error: Is this a bug or an as yet 
> unimplemented feature (on OSX)?

Unfortunately, mac os x in general doesn't support TLS yet.  LLVM can't 
support it there until the kernel and dynamic linker support it.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list