Add four new functions and one new enum to the C API:
authorHans Wennborg <hans@hanshq.net>
Tue, 16 Apr 2013 08:58:59 +0000 (08:58 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 16 Apr 2013 08:58:59 +0000 (08:58 +0000)
commit5ff71205eef3831a98818211eb0a022b0030abee
treefdb991469cccfb4146f5167601e3b9f767d5aba3
parentc9e1d992796ba1dd20004495038fbf18deeadb65
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

Patch by Moritz Maxeiner!

llvm-svn: 179588
llvm/include/llvm-c/Core.h
llvm/lib/IR/Core.cpp