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

Anton Korobeynikov anton at korobeynikov.info
Mon Feb 20 06:45:32 PST 2012


>  So, the problem with the proposed patch is that it does not honor the code model and that it issues an indirect jump on win64 when a 'small' code model is used, right ?
Almost correct. call to chkstk should behave the same way as all other
calls. So, it will be pcrel32 in small, kernel and medium code models.
And indirect in large.

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

More information about the llvm-commits mailing list