Register window support in DWARF-2
Richard Henderson
rth@redhat.com
Thu Nov 25 20:41:00 GMT 2004
On Thu, Nov 25, 2004 at 01:18:09PM +0100, Eric Botcazou wrote:
> + /* This target hook allows the backend to emit frame-related insns that
> + contain UNSPECs or UNSPEC_VOLATILEs. The call frame debugging info
> + engine will invoke it on insns of the form
> + (set (reg) (unspec [...] UNSPEC_INDEX))
> + and
> + (set (reg) (unspec_volatile [...] UNSPECV_INDEX))
> + to let the backend emit the call frame instructions. */
> + void (* dwarf_handle_frame_unspec) (const char *);
I think that you should pass the instruction pattern as well.
Otherwise you can't distinguish which unspec.
r~
More information about the Gcc-patches
mailing list