[llvm-commits] Bug in "call __chkstak" on 64 bit OS

Anton Korobeynikov anton at korobeynikov.info
Sun Feb 19 07:09:15 PST 2012


> In usual executable, __chkstk would be resolved as DLL IAT. You would
> not need to worry.
> In contrast, JIT might resolve __chkstk directly. IMO, you might tweak
> EE/JIT symbol resolver (and code emitter).
The proper fix is to honor code model. This way special call to chkstk
will behave as normal function call.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list