ARM: support stack probe size on Windows on ARM
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 31 Jan 2015 02:26:37 +0000 (02:26 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 31 Jan 2015 02:26:37 +0000 (02:26 +0000)
commitfb8a66fbc558e3dc1f52e5fa4aac3d9ed1fef5ae
tree67a16abf2d5869688e68ce44c0e15eb52522a33b
parent33ab83bc4b421088b90f3885bf9fac5eb999bbdd
ARM: support stack probe size on Windows on ARM

Now that -mstack-probe-size is piped through to the backend via the function
attribute as on Windows x86, honour the value to permit handling of non-default
values for stack probes.  This is needed /Gs with the clang-cl driver or
-mstack-probe-size with the clang driver when targeting Windows on ARM.

llvm-svn: 227667
llvm/lib/Target/ARM/ARMFrameLowering.cpp
llvm/test/CodeGen/ARM/Windows/stack-probe-non-default.ll [new file with mode: 0644]