Getting DWARF codes from RTX

Ian Lance Taylor iant@google.com
Fri Oct 21 06:09:00 GMT 2011


"Iyer, Balaji V" <balaji.v.iyer@intel.com> writes:

> BVI> Actually what I want is to have a way to go from the rtx value e.g (REG: SI 1 di) to 0x51

That's just DW_OP_reg0 + DWARF_FRAME_REGNUM (REGNO (rtx)).  Assuming
REGNO (rtx) <= 31.

Ian



More information about the Gcc mailing list