<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">We use GS based addressing in our code
just fine. We have a home grown version of TLS, but I believe the
principal mechanisms needed for the Linux x86-64 version are
similar. The key thing you need is to use the right address space
(256 = GS, 257 = FS IRC) when describing the memory locations. <br>
<br>
Philip<br>
<br>
On 08/17/2016 09:25 PM, Keno Fischer via llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAEoGj__LOypBzowDpYEZEEwQkK+5cAQVF8Ux9wU5Saie+R2WWw@mail.gmail.com"
type="cite">
<div dir="ltr">I had tried this in <a moz-do-not-send="true"
href="https://reviews.llvm.org/D8815">https://reviews.llvm.org/D8815</a>,
but we've since switched to a home grown TLS implementation, so
I currently don't have a need for this.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 18, 2016 at 12:17 AM, Alex
Denisov via llvm-dev <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">/cc Lang
Hames<br>
<div class="HOEnZb">
<div class="h5"><br>
> On 17 Aug 2016, at 19:27, Antoine Pitrou via
llvm-dev <<a moz-do-not-send="true"
href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>>
wrote:<br>
><br>
><br>
> Hello,<br>
><br>
> Am I right in thinking that MCJIT doesn't support
thread-local<br>
> variables (at least not on Linux x86-64)?<br>
><br>
> Is there any plan or pending PR to support it
(either in MCJIT or in<br>
> ORC)?<br>
><br>
> Thank you,<br>
><br>
> Regards<br>
><br>
> Antoine.<br>
><br>
> ______________________________<wbr>_________________<br>
> LLVM Developers mailing list<br>
> <a moz-do-not-send="true"
href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a moz-do-not-send="true"
href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a moz-do-not-send="true"
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>