rustc: Enable segmented stacks in LLVM when --stack-growth is on

This commit is contained in:
Patrick Walton 2011-10-31 14:42:17 -07:00
parent c9003d301f
commit 329f045d4c
4 changed files with 10 additions and 0 deletions

View file

@ -123,3 +123,9 @@ extern "C" void LLVMRustPrintPassTimings() {
raw_fd_ostream OS (2, false); // stderr.
TimerGroup::printAll(OS);
}
extern bool llvm::EnableSegmentedStacks;
extern "C" void LLVMRustEnableSegmentedStacks() {
EnableSegmentedStacks = true;
}