[cfe-commits] [Patch] TLS is not supported on OpenBSD (PR13502)

Hans Wennborg hans at chromium.org
Wed Aug 1 10:15:29 PDT 2012


Ah, yes that makes things simpler. New patch attached.

It would be great if someone could comment on the status of TLS on
Darwin, NetBSD and Windows, though.

Thanks,
Hans

On Wed, Aug 1, 2012 at 5:50 PM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
> The patch itself I think is good, but I don't think you need a driver
> test. Can't you use %clang_cc1 -verify to test?
>
> On 1 August 2012 12:32, Hans Wennborg <hans at chromium.org> wrote:
>> Hi all,
>>
>> The attached patch changes the TargetInfo for OpenBSD to consider TLS
>> unsupported. (PR13502)
>>
>> I'm not sure what the best way to test this is. I've added an attempt,
>> but would love to get comments here.
>>
>> It also makes me wonder if we get this right for other targets. For
>> instance, what's the status of TLS for  NetBSD? Solaris? And I thought
>> LLVM did support TLS on Windows?
>>
>> Please take a look.
>>
>> Thanks,
>> Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbsd_tls2.patch
Type: application/octet-stream
Size: 1364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120801/a1d1d769/attachment.obj>


More information about the cfe-commits mailing list