[LLVMdev] LLVM features that ought to be surfaced in a higher-level language?

Reid Kleckner rnk at google.com
Tue Oct 7 09:36:56 PDT 2014


Yes. And of course not long after implementing this for x86, I discovered
this was not the case for Darwin arm64. =P

My goal was to use this for variadic virtual method adjustor thunks.

Sent from phone
On Oct 7, 2014 1:04 AM, "David Chisnall" <David.Chisnall at cl.cam.ac.uk>
wrote:

> On 6 Oct 2014, at 19:29, Reid Kleckner <rnk at google.com> wrote:
>
> > - I added 'musttail', which can now be combined with varargs to
> implement a perfectly forwarding function that can modify some prefix of
> the arguments
>
> I missed this when it went in.  Does it rely on the target having the same
> calling convention for variadic and non-variadic functions?
>
> David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141007/fc50adb1/attachment.html>


More information about the llvm-dev mailing list