[cfe-dev] variable length argument functions in AMD64 arch
Zhi Wang
beiyuw at gmail.com
Mon Aug 17 12:28:39 PDT 2009
On Thu, Aug 13, 2009 at 6:34 PM, Henrique Almeida <hdante at gmail.com> wrote:
> 2009/8/13 Eli Friedman <eli.friedman at gmail.com>:
> >
> > The stack is supposed to be 16-byte aligned on x86-64; if it isn't,
> > there's probably a bug somewhere. But again, better to discuss on
> > llvmdev.
>
> The generated code looks like x86-32. Does It need not be aligned on
> 16-byte boundary ?
It is 64-bit code. I may have confused the objdump by setting the elf format
to elf-x86-32.
I aligned the stack to 16-bytes and everything is fine now. Thanks
--Zhi
>
>
> >
> > -Eli
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
>
>
>
> --
> Henrique Dante de Almeida
> hdante at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090817/a0c56855/attachment.html>
More information about the cfe-dev
mailing list