Emit segmented-stack specific code into function prologues for
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Aug 2011 19:39:58 +0000 (19:39 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Aug 2011 19:39:58 +0000 (19:39 +0000)
commit76927d758657b3a511c73467ec5a7288795c1513
treedb44df7735985e459f5d1cd47bd84dfba4d9f079
parent0f9827cd9417c7385c92fa4a0d8d8b4242b3729d
Emit segmented-stack specific code into function prologues for
X86. Modify the pass added in the previous patch to call this new
code.

This new prologues generated will call a libgcc routine (__morestack)
to allocate more stack space from the heap when required

Patch by Sanjoy Das.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138812 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetFrameLowering.h
lib/CodeGen/PrologEpilogInserter.cpp
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86FrameLowering.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86MachineFunctionInfo.h