[LLVMdev] How to force stack alignment for particular target triple in JIT?

Joerg Sonnenberger joerg at britannica.bec.de
Mon Feb 21 05:25:40 PST 2011


On Sun, Feb 20, 2011 at 09:16:56PM -0800, Yuri wrote:
> Isn't target triple supposed to set correct ABI including stack 
> alignment? How to set the correct alignment for this triple?

OSX uses 16 Byte. Linux silently changed the SYSV ABI to 16 Byte
alignment as well. The most likely candidate is that all other ELF
platforms simply inherited this change.

Joerg



More information about the llvm-dev mailing list