[PATCH] Add a "no-split-stack" function attribute.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 16 06:26:40 PDT 2013


> Normal C/C++ programs are written and operate under the assumption of a
> nearly infinite stack. I'd expect anyone using split stacks to use the
> functionality for tightening the available space and that's exactly the
> circumstances where it matters how much stack space a function is
> guaranteed to have access to. Of course, some ABIs like AMD64's
> essentially guarantee a lower limit that might be large enough.

And from their description it looks like your expectation is wrong for
some of the functions they have.

Luqman, would you be ok with adding a split_stack attribute instead?

Cheers,
Rafael



More information about the llvm-commits mailing list