diff options
| author | bors <bors@rust-lang.org> | 2014-10-24 17:32:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-24 17:32:04 +0000 |
| commit | a10917a6a9b087d10ac4fd0186b719218627281e (patch) | |
| tree | c4baa90b9916b1b1ab179fa97b832632ac06d2fe /src/rustllvm/RustWrapper.cpp | |
| parent | 083578ddec6fa07a757959efe64b02de38e73ce6 (diff) | |
| parent | 70cef9474a3307ec763efc01fe6969e542083823 (diff) | |
| download | rust-a10917a6a9b087d10ac4fd0186b719218627281e.tar.gz rust-a10917a6a9b087d10ac4fd0186b719218627281e.zip | |
auto merge of #16388 : Zoxc/rust/stmesg, r=alexcrichton
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
