[Dwarf-discuss] format of high pc for TAG_compile_unit

Chris Quenelle Chris.Quenelle at Sun.COM
Tue Apr 3 14:15:56 PDT 2007

You can download the latest dwarf standard from dwarfstd.org

In section 2.17.2 It explains that high_pc points one byte
past the end of the last instruction in the range.
So it works okay with variable length instructions.


drizzle drizzle wrote:
> Hi
>     Just wondering what the spec says abt how the high pc should be
> emitted.  Two options are in the form of a offset from the low pc. But
> this would not work for instruction sets of variable lengths. So in
> such a case how is high pc handled. Is there a type that controls the
> format ? Or is it left to implementation to handle ?
> thanks for all answers
> dz
> _______________________________________________
> dwarf-discuss mailing list
> dwarf-discuss at lists.dwarfstd.org
> http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org

More information about the Dwarf-Discuss mailing list