<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 4, 2015 at 1:44 PM, Joerg Sonnenberger via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Fri, Dec 04, 2015 at 04:35:14PM -0500, James Y Knight wrote:<br>
> On Dec 4, 2015, at 2:32 PM, Joerg Sonnenberger via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
> > On Fri, Dec 04, 2015 at 05:40:13PM -0000, Manman Ren via llvm-commits wrote:<br>
> >> Author: mren<br>
> >> Date: Fri Dec  4 11:40:13 2015<br>
> >> New Revision: 254737<br>
> >><br>
> >> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=254737&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=254737&view=rev</a><br>
> >> Log:<br>
> >> [CXX TLS calling convention] Add CXX TLS calling convention.<br>
> ><br>
> > What the motivation for this? Is there any ABI documentation for it?<br>
><br>
><br>
> This seems very much like an x86_64-Darwin specific calling convention,<br>
> which is masquerading as a generic calling convention. Why not call it<br>
> what it actually is, instead of pretending it's something generically useful?<br>
<br>
</div></div>I'm not sure if it is Darwin-specific, but one of the things I wonder<br>
about is the "CXX" part in the name. If it is for use by dynamic TLS<br>
initialisers, there is nothing C++ specific about it.<br></blockquote><div><br></div><div>It can be used by C++ TLS access functions across platforms.</div><div>The implementation in this commit dispatches the calling convention to Darwin specific CSR_64_TLS_Darwin_SaveList|RegMask.</div><div>CSR_64_TLS_Darwin_SaveList|RegMask are specific to Darwin, depending on how C-style TLS is implemented in Darwin.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I would be nice if such patches could be posted for review in advance<br>
and with a bit more than a cryptic rdar link that the non-Apple<br>
developers have no access to.<br></blockquote><div><br></div><div>This was reviewed at <a href="http://reviews.llvm.org/D14780">http://reviews.llvm.org/D14780</a>.</div><div>Sorry that I forgot to put that in the commit message.</div><div><br></div><div>Cheers,</div><div>Manman </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5"><br>
Joerg<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>