Displaying 1 result from an estimated 1 matches for "misaligned_stack_error_".
Did you mean:
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...