Messages in this thread | | | From | Denys Vlasenko <> | Date | Tue, 13 Jan 2015 13:07:12 +0100 | Subject | Re: [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
| |