[LLVMdev] Stack alignment in JIT compiled code

Anton Korobeynikov anton at korobeynikov.info
Fri May 1 08:04:03 PDT 2009


Hello, Andrew

> That's right.  If you want to be able to call any code produced by gcc,
> you have to preserve 16-alignment.  gcc-generated code does not realign
> the stack pointer.
This was for gcc < 4.4, where stack alignment handling was really
messy. stack-realignment branch was merged afair into gcc 4.4 and
allows automatic realignment of stack, when necessary.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list