From: Tom Tromey <tromey@redhat.com>
To: ppluzhnikov@google.com (Paul Pluzhnikov)
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Eliminate quadratic slow-down on number of soilibs (part 2).
Date: Mon, 18 May 2009 21:27:00 -0000 [thread overview]
Message-ID: <m3ab5a3xvq.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20090501221639.4FF8A19C4E1@localhost> (Paul Pluzhnikov's message of "Fri\, 1 May 2009 15\:16\:39 -0700 \(PDT\)")
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> + {
Paul> + objc_csym = xmalloc (sizeof (*objc_csym));
Paul> + *objc_csym = objfile_csym;
Paul> + set_objfile_data (objfile, objc_objfile_data, objc_csym);
Paul> + }
[...]
Paul> +void
Paul> +_initialize_objc_lang (void)
Paul> +{
Paul> + objc_objfile_data = register_objfile_data ();
Paul> +}
I think this should probably call register_objfile_data_with_cleanup,
so that the per-objfile data can be freed when the objfile is
destroyed.
Tom
next prev parent reply other threads:[~2009-05-18 21:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-01 22:17 Paul Pluzhnikov
2009-05-12 9:11 ` Joel Brobecker
2009-05-18 21:27 ` Tom Tromey [this message]
2009-05-18 22:15 ` Paul Pluzhnikov
2009-05-18 22:48 ` Tom Tromey
2009-05-18 22:58 ` Paul Pluzhnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ab5a3xvq.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=ppluzhnikov@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox