[Dwarf-discuss] dwarf - debug line number information program state machine registers
Fri May 11 11:03:55 GMT 2007
On Fri, May 11, 2007 at 11:28:13AM +0530, Ramanaiah Nalamothu wrote:
> The immediate instruction following .LM2 and .LM3 sets start of the basic
> block i.e. "basic_block". And that instructions' address flags end of
> sequence i.e. "end_sequence".
That's not what end_sequence means. It should be used for each
segment of the line number table that is not contiguous. Suppose you
have a file containing one instruction; it should have a line table
entry for that instruction, advance to after the instruction and have
an end of sequence. This ensures that random memory after that object
file in memory will not be associated with the same line.
More information about the Dwarf-discuss