]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16388 : Zoxc/rust/stmesg, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 24 Oct 2014 17:32:04 +0000 (17:32 +0000)
committerbors <bors@rust-lang.org>
Fri, 24 Oct 2014 17:32:04 +0000 (17:32 +0000)
This installs signal handlers to print out stack overflow messages on Linux. It also ensures the main thread has a guard page.

This will catch stack overflows in external code. It's done in preparation of switching to stack probes (#16012).

I've done some simple tests with overflowing the main thread, native threads and green threads (with and without UV) on x86-64.
This might work on ARM, MIPS and x86-32.

I've been unable to run the test suite on this because of #16305.


Trivial merge