Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Stack probe support for x86 #21

Closed
wants to merge 3 commits into from
Closed

Stack probe support for x86 #21

wants to merge 3 commits into from

Conversation

Zoxc
Copy link

@Zoxc Zoxc commented Aug 6, 2014

Effort to fix rust-lang/rust#16012

@alexcrichton
Copy link
Member

This seems like some pretty serious infrastructure which will break Rust's compatibility with system LLVM versions. Have you attempted to upstream these changes in LLVM yet? Our current fork of LLVM is largely just optimizations which aren't necessary for Rust to work correctly, and we strive to be compatible with system LLVM installations wherever possible.

Zoxc added 3 commits August 6, 2014 16:23
This attribute is used to ensure the guard page is triggered on stack
overflow. Stack frames larger than the guard page size will generate a
call to __probestack to touch each page so the guard page won't be skipped.
@Zoxc
Copy link
Author

Zoxc commented Aug 6, 2014

There's http://reviews.llvm.org/D4717

@ghost ghost mentioned this pull request Sep 19, 2015
@binarycrusader
Copy link

Should this be closed as abandoned?

@Zoxc
Copy link
Author

Zoxc commented Feb 21, 2017

Yeah. See rust-lang/rust#16012 for progress on this

@Zoxc Zoxc closed this Feb 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants