[builtins] Implement the __chkstk function for ARM for MinGW
authorMartin Storsjo <martin@martin.st>
Tue, 17 Jul 2018 19:14:47 +0000 (19:14 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 17 Jul 2018 19:14:47 +0000 (19:14 +0000)
commit946a81f5b068a90c177c3f49da3a3761273894f1
treeddf67b602c1dfd3150ca5a1edbc9f16d237cfe04
parentd0166a0a9377cb3861210e9d5f2b629d77f1a97e
[builtins] Implement the __chkstk function for ARM for MinGW

This function is available for linking in from kernel32.dll, but
it's not allowed to link that function from there in Windows Store
apps.

Differential Revision: https://reviews.llvm.org/D49055

llvm-svn: 337313
compiler-rt/lib/builtins/CMakeLists.txt
compiler-rt/lib/builtins/arm/chkstk.S [new file with mode: 0644]