I found that is possible to introduce some changes in the stack layout; however, where I can find more information about how to use it (I am reading code). For example, how I can align the stack to the maximum size (what is the max size?), or how I can protect it? Can I set up the condiction using flags at compiler time or I need to change the code?

Hi Juan,

It's best to ask on the llvmdev list about this, since this is specific to the LLVM backend.