summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/CMakeLists.txt
diff options
context:
space:
mode:
authorMartell Malone <martellmalone@gmail.com>2015-11-03 15:46:23 +0000
committerMartell Malone <martellmalone@gmail.com>2015-11-03 15:46:23 +0000
commit40eb83ba56ba9c1d2e6de44deacf889ac0143cf7 (patch)
tree7eb1ceb04014faf5f72d22898a09f636bcc22b2b /compiler-rt/lib/builtins/CMakeLists.txt
parent9eb3e570427ec36ce02e76cb452033f0c8e6bee6 (diff)
downloadbcm5719-llvm-40eb83ba56ba9c1d2e6de44deacf889ac0143cf7.tar.gz
bcm5719-llvm-40eb83ba56ba9c1d2e6de44deacf889ac0143cf7.zip
Support for 32-bit mingw-w64 in compiler-rt.
Add chkstk/alloca for gcc objects. Replace or instructions with test, the latter should be marginally more efficent, as it does not write to memory. Differential Revision: http://reviews.llvm.org/D14044 Patch by vadimcn llvm-svn: 251928
Diffstat (limited to 'compiler-rt/lib/builtins/CMakeLists.txt')
-rw-r--r--compiler-rt/lib/builtins/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index d6a972e5a5f..a2bacf719e8 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -177,6 +177,7 @@ if (NOT MSVC)
set(x86_64_SOURCES
${x86_64_SOURCES}
x86_64/chkstk.S)
+ x86_64/chkstk2.S)
endif()
set(i386_SOURCES
@@ -200,6 +201,7 @@ if (NOT MSVC)
set(i386_SOURCES
${i386_SOURCES}
i386/chkstk.S)
+ i386/chkstk2.S)
endif()
set(i686_SOURCES
OpenPOWER on IntegriCloud