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)
commit81674807cc3b3bf903733214eac8fdc997291267
treec29c48928226e98f95d997608c54ce01c6198d9d
parenta1667be228a061de1d6d8cd2c5459710e21904e3
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227667 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameLowering.cpp
test/CodeGen/ARM/Windows/stack-probe-non-default.ll [new file with mode: 0644]