compiler-rt: add support for mingw-w64 in builtins
authorReid Kleckner <reid@kleckner.net>
Fri, 17 Jul 2015 16:23:05 +0000 (16:23 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 17 Jul 2015 16:23:05 +0000 (16:23 +0000)
commitfbfed869106cc9c9cad7538db5e65bcd24f4d92e
tree3d69a5eb0a000e681cb45c9e7858e769243450fb
parent8e2fb681e3273d5524ae68c6b907e0d675f67138
compiler-rt: add support for mingw-w64 in builtins

The is so that we can avoid using libgcc and use compiler-rt with
mingw-w64.

Related driver patch
http://reviews.llvm.org/D11077

I have tested this with mingw-w64 and everything seems to be in order.
I also sent this patch to the mingw-w64 mailing list for them to look at.

Patch by Martell Malone.

Differential Revision: http://reviews.llvm.org/D11085

llvm-svn: 242539
compiler-rt/CMakeLists.txt
compiler-rt/lib/builtins/CMakeLists.txt
compiler-rt/lib/builtins/enable_execute_stack.c