This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/2] Speed up JIT support
- From: Tom Tromey <tromey at redhat dot com>
- To: ppluzhnikov at google dot com (Paul Pluzhnikov)
- Cc: gdb-patches at sourceware dot org, pedro at codesourcery dot com
- Date: Fri, 04 Feb 2011 13:00:02 -0700
- Subject: Re: [patch 1/2] Speed up JIT support
- References: <20110203214614.5FD74190A4E@elbrus2.mtv.corp.google.com>
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> This is still showing non-linear growth, but the factors are much
Paul> nicer ;-)
Thanks for doing this.
Paul> + const int num_longjmp_names
Paul> + = sizeof (longjmp_names) / sizeof (longjmp_names[0]);
We have an ARRAY_SIZE macro for this (available in libiberty.h, included
everywhere via defs.h). If you already committed, don't bother changing
it though.
Tom