thread_local

Hi,

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:

Hi,

Cannot yet select: 0x56059f0: i32 = GlobalTLSAddress <i32* @a> 0

I'm pretty sure that this simply means that TLS is not implemented
on that target yet. The message could be more helpful, that's for
sure!

Ciao,

D.

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