On Mon, Oct 21, 2013 at 8:37 PM, Keegan McAllister
<kmcallis...@mozilla.com>wrote:

> > * Consider switching to guard pages for the stack check
>
> What if your overflowing stack frame is bigger than a page and you access
> the far end of it first?  I think we'd still need __morestack checks for
> functions that use a lot of stack.
>
> keegan
>

LLVM could be taught to return the maximum stack frame size in order to
allocate the right number of guard pages in addition to the regular stack
size.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to