This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up dwarf2_frame_find_fde
- From: Tom Tromey <tromey at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: Andreas Schwab <schwab at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 06 Aug 2009 15:15:12 -0600
- Subject: Re: [patch] Speed up dwarf2_frame_find_fde
- References: <20090721223129.85D1F76BC0@localhost> <m3hbx5gkrq.fsf@hase.home> <8ac60eac0907221324n28e246c1k5e62f79973955ae@mail.gmail.com> <m3tz0ne949.fsf@fleche.redhat.com> <8ac60eac0908041208g477503e9n8079bd8df935b8b1@mail.gmail.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "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