gold patch committed: Only keep second of same offset DWARF

Ian Lance Taylor iant@google.com
Mon Dec 20 19:20:00 GMT 2010


When an entry in the DWARF line number table has the same offset as the
previous entry, we should only keep the second entry.  That is what
other DWARF readers do.  This patch implements that.  Committed to
mainline.

Ian


2010-12-20  Ian Lance Taylor  <iant@google.com>

	* dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keep
	second of two consecutive entries with same offset.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1972 bytes
Desc: dwarf
URL: <https://sourceware.org/pipermail/binutils/attachments/20101220/3c1df9b9/attachment.bin>


More information about the Binutils mailing list