X86: use the correct alloca symbol for Windows Itanium
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 20 Nov 2014 18:01:26 +0000 (18:01 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 20 Nov 2014 18:01:26 +0000 (18:01 +0000)
commite6c1fc9a4463064004c436869ff7c91660582895
treea1990dd748335da6d992481c5ac43425d24dd6a0
parent12385e603faf347c68d18c3f39b3885b6f36e910
X86: use the correct alloca symbol for Windows Itanium

Windows itanium targets the MSVCRT, and the stack probe symbol is provided by
MSVCRT.  This corrects the emission of stack probes on i686-windows-itanium.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/windows-itanium-alloca.ll [new file with mode: 0644]