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

Benoit Belley benoit.belley at autodesk.com
Thu Jan 29 08:15:18 PST 2015


For example, in the x86_64 small code model, one call only use the 32-bit PC relative call to make calls within the same DLL. When calling a function residing in a different DLL, one still has to use a 64-bit safe relocation, which amount to either loading the 64-bit address directly, loading it for a GOT table or jumping to a PLT stub containing the 64-bit call.


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