]> git.lizzy.rs Git - rust.git/commit
rustc: Ensure closures are "split-stack"
authorAlex Crichton <alex@alexcrichton.com>
Sat, 19 Apr 2014 17:33:46 +0000 (10:33 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 19 Apr 2014 17:33:46 +0000 (10:33 -0700)
commit50fb57bb107b302f7d164e22aa75c8c2a2d48756
tree85677a3099045450ce4ff4ffe35f0ceef068813d
parentba25fecfeffdbc96d31172f483bd20cffa635b3e
rustc: Ensure closures are "split-stack"

In upgrading LLVM, only rust functions had the "split-stack" attribute added.
This commit changes the addition of LLVM's "split-stack" attribute to *always*
occur and then we remove it sometimes if the "no_split_stack" rust attribute is
present.

Closes #13625
src/librustc/lib/llvm.rs
src/librustc/middle/trans/base.rs
src/rustllvm/RustWrapper.cpp