r202778 - Implement __readeflags and __writeeflags intrinsics

Chandler Carruth chandlerc at google.com
Mon Mar 3 19:12:36 PST 2014


On Mon, Mar 3, 2014 at 7:03 PM, Alexey Bataev <a.bataev at hotmail.com> wrote:

> +  unsigned long long res = 0;


Note that this local variable can be clobbered by a user who #define's
'res' to something nasty like 'int'. I think you need this to be __res much
like you use __f for the parameter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140303/e58f8756/attachment.html>


More information about the cfe-commits mailing list