[patch] Speed up dwarf2_frame_find_fde

Tom Tromey tromey@redhat.com
Thu Aug 6 21:24:00 GMT 2009


>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:

Tom> I don't understand this comment.

Paul> Before the patch:
Paul> -  /* First add the information from the .eh_frame section.  That way,
Paul> -     the FDEs from that section are searched last.  */
Paul> IOW, we prefer .debug_frame entries to .eh_frame ones.

Paul> After the patch, .eh_frame entries are sorted after .debug_frame
Paul> ones in the fde_table, and are then duplicate-eliminated when the
Paul> final fde_table is constructed here:

Thanks for the explanation.  I didn't make this connection.

This patch is ok.

Tom



More information about the Gdb-patches mailing list