rustc: Implement stack probes for x86
This commit implements stack probes on x86/x86_64 using the freshly landed support upstream in LLVM. The purpose of stack probes here are to guarantee a segfault on stack overflow rather than having a chance of running over the guard page already present on all threads by accident. At this time there's no support for any other architecture because LLVM itself does not have support for other architectures.
Showing
src/test/codegen/stack-probes.rs
0 → 100644
src/test/run-pass/stack-probes.rs
0 → 100644
想要评论请 注册 或 登录