lkml.org 
[lkml]   [2015]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86: introduce push/pop macros which generate CFI_REL_OFFSET and CFI_RESTORE
On Mon, Jan 12, 2015 at 9:26 PM, Andy Lutomirski <luto@amacapital.net> wrote:
> I think I prefer the somewhat less magical:
>
> pushq_reg_cfi %r11 /* saves r11 */
> pushq_reg_cfi %r11, savereg=rip /* saves rip */
> pushq_nounwind_cfi $0
>
> Or something like that.

That's very close to my patch. With it:

pushq_cfi - doesn't emit "register is saved" annotation, can be
used with non-register args.
pushq_cfi_reg - emits it


\
 
 \ /
  Last update: 2015-01-13 13:41    [W:0.063 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site