rustc: Enable segmented stacks in LLVM when --stack-growth is on
This commit is contained in:
parent
c9003d301f
commit
329f045d4c
4 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue