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

Hans Wennborg hans at chromium.org
Tue Apr 16 02:00:58 PDT 2013


On Mon, Apr 15, 2013 at 11:15 AM, Moritz Maxeiner
<moritzmaxeiner at googlemail.com> wrote:
> On 04/15/2013 11:19 AM, Hans Wennborg wrote:
>> On Wed, Apr 3, 2013 at 8:25 PM, Moritz Maxeiner
>> <moritzmaxeiner at googlemail.com> wrote:
>>>
>>> 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
>>
>> I think this looks good in general.
>
> Thanks, I'd need someone to commit it for me, then, could
> you do it please (if you have commit-acces)?

OK, I've committed your patch in r179588.

Thanks,
Hans



More information about the llvm-commits mailing list