[PATCH] Eliminate duplicate dwarf2 data

Jason Merrill jason@redhat.com
Sun Aug 27 11:07:00 GMT 2000

>>>>> Andi Kleen <ak@suse.de> writes:

 > Daniel Berlin <dberlin@redhat.com> writes:
 >> First, we split the DIES across compilation units, one compilation
 >> unit for each include file (or some better heuristic), with the DIES
 >> for things in that include file as children of that compilation unit.
 >> Then, we do a  checksum of the DIE (It's md5 right now), and
 >> output the DIE in a linkonce section with the checksum in the name
 >> (like .gnu.linkonce.wi._DW_192e1d5adfa).

 > So it'll break when you have a hash collision ?  (even MD5 can have 
 > collisions...)

Actually, it uses the filename as well as a hash, which should make the
possibilty of a collision even more remote.


More information about the Gcc-patches mailing list