Calling _chkstk is required on ELF as well as COFF on Windows.
Without _chkstk functions requiring large stack crash in initialization code. Previous code tested for COFF format but not Mach-O and this patch modifies the code to test for Windows. Credits to Andrew MacPherson. llvm-svn: 193263
Loading
Please register or sign in to comment