[X86] Don't use the MSVC stack protector names on mingw
authorMartin Storsjo <martin@martin.st>
Tue, 20 Mar 2018 20:37:51 +0000 (20:37 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 20 Mar 2018 20:37:51 +0000 (20:37 +0000)
commit07589fc49658e3731501fc2c03a00f3865c4524c
tree9257f0ba7445a8c7209d47e2edc891e75ef418d4
parent585051ae7468f883d164e66addb7f25ce5b5f6fc
[X86] Don't use the MSVC stack protector names on mingw

Mingw uses the same stack protector functions as GCC provides
on other platforms as well.

Patch by Valentin Churavy!

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

llvm-svn: 328039
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/stack-protector.ll
llvm/test/CodeGen/X86/win32-ssp.ll [new file with mode: 0644]