[LLVMdev] how to execute a *.ll with a thread_local global variable?
Dong Chen
jameschennerd at gmail.com
Wed Dec 12 00:33:25 PST 2012
hi guys,
i wrote a small program that can load the *.ll file, parse it and execute
it.
but there is a thread_local global variable.
during execution, it says:
Cannot allocate thread local storage on this arch!
UNREACHABLE executed at /root/llvm/lib/Target/X86/X86JITInfo.cpp:585!.
it seems that i did not initialize the executionEngine right or i shouldnot
use InitializeNativeTarget()?
i don't know how to solve it. does anyone have the same problem?
--
View this message in context: http://llvm.1065342.n5.nabble.com/how-to-execute-a-ll-with-a-thread-local-global-variable-tp52533.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev
mailing list