rust/src/libsyntax
bors 5aca49c693 Auto merge of #27338 - alexcrichton:remove-morestack, r=brson
This commit removes all morestack support from the compiler which entails:

* Segmented stacks are no longer emitted in codegen.
* We no longer build or distribute libmorestack.a
* The `stack_exhausted` lang item is no longer required

The only current use of the segmented stack support in LLVM is to detect stack
overflow. This is no longer really required, however, because we already have
guard pages for all threads and registered signal handlers watching for a
segfault on those pages (to print out a stack overflow message). Additionally,
major platforms (aka Windows) already don't use morestack.

This means that Rust is by default less likely to catch stack overflows because
if a function takes up more than one page of stack space it won't hit the guard
page. This is what the purpose of morestack was (to catch this case), but it's
better served with stack probes which have more cross platform support and no
runtime support necessary. Until LLVM supports this for all platform it looks
like morestack isn't really buying us much.

cc #16012 (still need stack probes)
Closes #26458 (a drive-by fix to help diagnostics on stack overflow)

r? @brson
2015-08-10 23:40:54 +00:00
..
diagnostics remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
ext Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
parse Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
print Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
util syntax: replace sess.span_diagnostic.cm with sess.codemap(). 2015-05-14 01:47:56 +03:00
abi.rs Add netbsd amd64 support 2015-07-01 19:09:14 -07:00
ast.rs Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
ast_util.rs remove get_ident and get_name, make as_str sound 2015-07-28 18:07:20 +02:00
attr.rs Auto merge of #26747 - huonw:stability-issue, r=alexcrichton 2015-07-07 17:41:43 +00:00
codemap.rs Instrumentation in effort to understand treatment of allow_internal_unstable. 2015-07-22 15:34:00 +02:00
config.rs syntax: Remove uses of #[feature(slice_patterns)] 2015-04-21 10:08:26 -07:00
diagnostic.rs Auto merge of #26846 - P1start:print-maybe-styled-macro, r=pnkfelix 2015-07-29 00:28:55 +00:00
feature_gate.rs Auto merge of #27338 - alexcrichton:remove-morestack, r=brson 2015-08-10 23:40:54 +00:00
fold.rs Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00
lib.rs Hack for "unsafety hygiene" -- push_unsafe! and pop_unsafe!. 2015-07-22 15:33:59 +02:00
owned_slice.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
ptr.rs syntax: remove #![feature(box_syntax, box_patterns)] 2015-04-21 10:07:48 -07:00
show_span.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
std_inject.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs syntax: Don't assume std exists for tests 2015-08-04 14:02:36 -07:00
visit.rs Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichton 2015-08-10 20:24:06 +00:00