summaryrefslogtreecommitdiffstats
path: root/clang/test/Layout/ms-x86-basic-layout.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2013-10-23 23:37:01 +0000
committerYaron Keren <yaron.keren@gmail.com>2013-10-23 23:37:01 +0000
commit79bb2663462da06e8ed5ed482238b9416cf81880 (patch)
treeb3fab64233eeb2548d1b0548a112e9e46df36499 /clang/test/Layout/ms-x86-basic-layout.cpp
parentc95fe7ca31ce80eb045d36a40fe69c11119262df (diff)
downloadbcm5719-llvm-79bb2663462da06e8ed5ed482238b9416cf81880.tar.gz
bcm5719-llvm-79bb2663462da06e8ed5ed482238b9416cf81880.zip
(this is a corrected patch)
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 OS (both Windows target and MingW target) but not Mach-O object format: Looks like macho environment was used to build some EFI code. Credits to Andrew MacPherson. llvm-svn: 193289
Diffstat (limited to 'clang/test/Layout/ms-x86-basic-layout.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud