(original) (raw)

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@cl.cam.ac.uk> wrote:
On 6 Oct 2014, at 19:29, Reid Kleckner <rnk@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