search for: misaligned_stack_error

Displaying 2 results from an estimated 2 matches for "misaligned_stack_error".

2011 Jan 01
3
[LLVMdev] misaligned_stack_error caused by LLVM code on MacOS: how to fix?
llvm-generated code that runs fine on linux/i386 causes EXC_BAD_ACCESS with misaligned_stack_error_ on MacOS/i386. I read online that each function should have stack aligned by 16 on MacOS/i386 and such code should be used: Fn->addAttribute(~0U, llvm::Attribute::constructStackAlignmentFromInt(16)); But when I run clang on some C++ code I don't see alignstack instructions generated at...
2011 Jan 01
0
[LLVMdev] misaligned_stack_error caused by LLVM code on MacOS: how to fix?
Hello > What is the right way for fix this misaligned_stack_error? Codegen stuff for darwin, there are many other differences in Linux/Darwin ABIs. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University