[LLVMdev] misaligned_stack_error caused by LLVM code on MacOS: how to fix?
Yuri
yuri at rawbw.com
Sat Jan 1 14:15:19 PST 2011
On 01/01/2011 10:17, Anton Korobeynikov wrote:
> Codegen stuff for darwin, there are many other differences in
> Linux/Darwin ABIs.
Calling set_module_triple with "i386-apple-darwin10.0.0" fixes the issue.
But I notice that when clang generates code the other difference is that
all functions have ssp attribute on darwin which doesn't appear on linux
and freebsd.
Why there is such a difference between MacOS and Linux?
Yuri
More information about the llvm-dev
mailing list