On Tue, Sep 1, 2015 at 7:52 AM, H.J. Lu <hjl.to...@gmail.com> wrote:
> On Wed, Aug 19, 2015 at 3:35 PM, Segher Boessenkool
> <seg...@kernel.crashing.org> wrote:
>> On Wed, Aug 19, 2015 at 03:18:46PM -0700, H.J. Lu wrote:
>>> @deftypefn {Built-in Function} {void *} __builtin_argument_pointer (void)
>>> This function is similar to @code{__builtin_frame_address} with an
>>> argument of 0, but it returns the address of the incoming arguments to
>>> the current function rather than the address of its frame.
>>>
>>> The exact definition of this address depends upon the processor and the
>>> calling convention.  Usually some arguments are passed in registers and
>>> the rest on the stack, and this builtin returns the address of the
>>> first argument which would be passed on the stack.
>>> @end deftypefn
>>
>> That is fine by me.  Thanks!
>>
>>
>
> Here is a patch to add __builtin_argument_pointer.  OK for master?
>

I withdrew this patch.


-- 
H.J.

Reply via email to