This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Speed up dwarf2_frame_find_fde


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]