Move the segmented stack switch to a function attribute
authorReid Kleckner <reid@kleckner.net>
Thu, 10 Apr 2014 22:58:43 +0000 (22:58 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 10 Apr 2014 22:58:43 +0000 (22:58 +0000)
commitbc1fd917f09c1ef295231d88a80874689de2ff7f
tree317a9a78cf64b575b18adf75f5ffb4e2295cbfc1
parentee66766568d834217fdb08e73e7f1b423b035b0f
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
17 files changed:
docs/SegmentedStacks.rst
include/llvm/CodeGen/CommandFlags.h
include/llvm/CodeGen/MachineFunction.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/PrologEpilogInserter.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/ARM/debug-segmented-stacks.ll
test/CodeGen/ARM/segmented-stacks-dynamic.ll
test/CodeGen/ARM/segmented-stacks.ll
test/CodeGen/Thumb/segmented-stacks-dynamic.ll
test/CodeGen/Thumb/segmented-stacks.ll
test/CodeGen/Thumb2/segmented-stacks.ll
test/CodeGen/X86/segmented-stacks-dynamic.ll
test/CodeGen/X86/segmented-stacks.ll