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

Rotem, Nadav nadav.rotem at intel.com
Mon Feb 20 06:50:22 PST 2012


It makes sense.  Thank you. 

-----Original Message-----
From: Anton Korobeynikov [mailto:anton at korobeynikov.info] 
Sent: Monday, February 20, 2012 16:46
To: Rotem, Nadav
Cc: NAKAMURA Takumi; llvm-commits at cs.uiuc.edu; Yatsina, Marina
Subject: Re: [llvm-commits] Bug in "call __chkstak" on 64 bit OS

Nadav,

>  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
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the llvm-commits mailing list