[PATCH] Bug 18582 - Offset overflow on calling __chkstk and __alloca on x64

Benoit Belley benoit.belley at autodesk.com
Thu Jan 29 08:09:14 PST 2015


AFAIU, the code model isn't imposed by the OS. One can use DLLs compiled with either code model on any versions of Windows. One chooses the code model for each DLL depending on whether he's expecting particular sections (.data and .text) of the DLL to be larger than 2^^24 bytes.

See: System V ABI, AMD64 Supplement, http://www.x86-64.org/documentation/abi.pdf, Section 3.5.1


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6856

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list