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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 16 05:55:33 PDT 2013


> So, how much stack is it going to get? Noone answered that question so
> far. Will it work for the next caller? I strongly believe that this is
> just asking for hard to trace down stack overflows down the ilne...

No different from what what we have with C and C++ every day. It is
very reasonable to have a way to turn the checks off. The question is
how to do it. The optimization you proposed is fairly orthogonal to
that.

My vote so far goes for adding a split_stack attribute that always
turns on the check and then removing the global option.

Cheers,
Rafael



More information about the llvm-commits mailing list