[LLVMdev] how to compile a program to make the global variable thread local using clang?

Dong Chen jameschennerd at gmail.com
Tue Dec 11 17:25:17 PST 2012

hello everyone,
i want to using parallel jit to run the function with global variables. but
the global variables seem to have the same address in the main memory.
recently, i see that the global variable can be thread local. and i think
this can make the global variables have different addresses. 
did anyone use clang to complie a program and make the global variables
thread local?
how to do it?
thank you?

View this message in context: http://llvm.1065342.n5.nabble.com/how-to-compile-a-program-to-make-the-global-variable-thread-local-using-clang-tp52527.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.

More information about the llvm-dev mailing list