diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-17 01:40:33 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-19 09:43:31 -0700 |
| commit | 6d8330afb6c925d1092f27919f61d4ce6a3fb1d4 (patch) | |
| tree | 72a6ff826ffcd13afe10a79cc4a4a78384cf2f16 /src/rustllvm/RustWrapper.cpp | |
| parent | d773a024a2976f2759235551a52101cd08b37cce (diff) | |
| download | rust-6d8330afb6c925d1092f27919f61d4ce6a3fb1d4.tar.gz rust-6d8330afb6c925d1092f27919f61d4ce6a3fb1d4.zip | |
Use __morestack to detect stack overflow
This commit resumes management of the stack boundaries and limits when switching between tasks. This additionally leverages the __morestack function to run code on "stack overflow". The current behavior is to abort the process, but this is probably not the best behavior in the long term (for deails, see the comment I wrote up in the stack exhaustion routine).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
