OSDN Git Service

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)
commit6334e1351f8f7bb58b3399d7c001eed0a32e1c64
treef0bf585cfff08f4193c83920159c6fce527480cc
parenta121e24c541097b51309a06297005ac257b6728f
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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179588 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
lib/IR/Core.cpp