summaryrefslogtreecommitdiff
path: root/docs/SegmentedStacks.rst
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-04-10 22:58:43 +0000
committerReid Kleckner <reid@kleckner.net>2014-04-10 22:58:43 +0000
commitbc1fd917f09c1ef295231d88a80874689de2ff7f (patch)
tree317a9a78cf64b575b18adf75f5ffb4e2295cbfc1 /docs/SegmentedStacks.rst
parentee66766568d834217fdb08e73e7f1b423b035b0f (diff)
downloadllvm-bc1fd917f09c1ef295231d88a80874689de2ff7f.tar.gz
llvm-bc1fd917f09c1ef295231d88a80874689de2ff7f.tar.bz2
llvm-bc1fd917f09c1ef295231d88a80874689de2ff7f.tar.xz
Move the segmented stack switch to a function attribute
This removes the -segmented-stacks command line flag in favor of a per-function "split-stack" attribute. Patch by Luqman Aden and Alex Crichton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/SegmentedStacks.rst')
-rw-r--r--docs/SegmentedStacks.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/SegmentedStacks.rst b/docs/SegmentedStacks.rst
index e44ce42313..c0bf32b3f9 100644
--- a/docs/SegmentedStacks.rst
+++ b/docs/SegmentedStacks.rst
@@ -13,9 +13,8 @@ monolithic chunk (of some worst case size) at thread initialization. This is
done by allocating stack blocks (henceforth called *stacklets*) and linking them
into a doubly linked list. The function prologue is responsible for checking if
the current stacklet has enough space for the function to execute; and if not,
-call into the libgcc runtime to allocate more stack space. When using ``llc``,
-segmented stacks can be enabled by adding ``-segmented-stacks`` to the command
-line.
+call into the libgcc runtime to allocate more stack space. Segmented stacks are
+enabled with the ``"split-stack"`` attribute on LLVM functions.
The runtime functionality is `already there in libgcc
<http://gcc.gnu.org/wiki/SplitStacks>`_.