[PATCH][llvm-c] GlobalVariable: Expose ThreadLocalMode and ExternallyInitialized

Moritz Maxeiner moritzmaxeiner at googlemail.com
Sun Apr 14 13:43:56 PDT 2013


Add four new functions and one new enum to the C API:

LLVMGetThreadLocalMode - exposes GlobalVariable::getThreadLocalMode
LLVMSetThreadLocalMode - exposes GlobalVariable::setThreadLocalMode
LLVMIsExternallyInitialized - exposes 
GlobalVariable::isExternallyInitialized
LLVMSetExternallyInitialized - exposes 
GlobalVariable::setExternallyInitialized
LLVMThreadLocalMode - maps to GlobalVariable::ThreadLocalMode


-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-c_globalvar_tlm_ei.patch
Type: text/x-patch
Size: 3078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130414/e93162cb/attachment.bin>


More information about the llvm-commits mailing list