diff options
author | Eric Christopher <echristo@gmail.com> | 2013-04-04 06:29:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-04-04 06:29:47 +0000 |
commit | 3105627bd76d6a0cc5ee305c99f4c96519bac9ac (patch) | |
tree | 6a0fed1ee75eb2897e0e9439f4a32cc032c627cd /lib/CodeGen/BackendUtil.cpp | |
parent | d9802dc5391bb2d2dbadc82dd4d594212d754a95 (diff) |
Plumb through the -fsplit-stack option using the existing backend
support.
Caveat: Other than the existing segmented stacks support, no
claims are made of this working.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 019570ce23..45079c0989 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -457,6 +457,7 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.TrapFuncName = CodeGenOpts.TrapFuncName; Options.PositionIndependentExecutable = LangOpts.PIELevel != 0; Options.SSPBufferSize = CodeGenOpts.SSPBufferSize; + Options.EnableSegmentedStacks = CodeGenOpts.EnableSegmentedStacks; TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, Options, |