From: Cary Coutant <ccoutant@google.com>
To: Jason Merrill <jason@redhat.com>
Cc: saugustine@google.com, gcc-patches@gcc.gnu.org,
reply@codereview-hr.appspotmail.com,
Tom Tromey <tromey@redhat.com>
Subject: Re: [Dwarf Patch] Improve pubnames and pubtypes generation. (issue 6197069)
Date: Tue, 22 May 2012 20:05:00 -0000 [thread overview]
Message-ID: <CAHACq4oD5RGgT1HUzG6Cw29gL5pSuNWyr0kox-eyFVK=oNbcew@mail.gmail.com> (raw)
In-Reply-To: <4FBBDEFD.3010201@redhat.com>
> Yes, but I would expect this table lookup to be faster than going to the
> disk to read the CU DIE and abbrev in order to check for the attribute.
> OTOH, I suppose you need to read it anyway if you want to check somehow
> whether you should trust the pub* information.
Right. I also need to read the top-level DIE to get the range list for the CU.
>> Building
>> the .gdb_index in gold is still too slow, but these attributes help
>> make it a bit faster than it was without them.
>>
>> Are these two attributes a showstopper issue for you?
>
> No, I'm just reluctant to add more relocations. Could we make them just
> flags?
That might be workable. Let me take a look at the gold changes I'd
need to make for that.
They don't have to be relocations, though -- since they're only used
by the linker, a raw section-relative offset would be sufficient.
>> Yes, I understand that's broken, but there are no consumers at this
>> point that make any use of that offset. Would it be acceptable if we
>> just put 0 there? (Given that I expect .debug_pub* to go away soon, I
>> don't think it's worth the trouble of filling in the offset with
>> anything more meaningful.)
>
> I wouldn't expect it to be much harder to put the skeleton there than plain
> 0.
I was concerned that we might not always have a skeleton type to point
to, but I confess I haven't looked closely enough to know whether
that's a valid concern.
-cary
next prev parent reply other threads:[~2012-05-22 20:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 23:34 saugustine
2012-05-19 15:21 ` Jason Merrill
2012-05-21 18:40 ` Cary Coutant
2012-05-22 17:20 ` Jason Merrill
2012-05-22 17:27 ` Sterling Augustine
2012-05-22 17:49 ` Cary Coutant
2012-05-22 18:46 ` Jason Merrill
2012-05-22 20:05 ` Cary Coutant [this message]
2012-05-22 21:56 ` Jakub Jelinek
2012-05-29 22:55 ` Cary Coutant
2012-05-30 17:52 ` Cary Coutant
2012-05-30 18:16 ` Jason Merrill
-- strict thread matches above, loose matches on Subject: below --
2012-06-07 21:47 saugustine
2012-05-18 22:39 jason.merrill
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='CAHACq4oD5RGgT1HUzG6Cw29gL5pSuNWyr0kox-eyFVK=oNbcew@mail.gmail.com' \
--to=ccoutant@google.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jason@redhat.com \
--cc=reply@codereview-hr.appspotmail.com \
--cc=saugustine@google.com \
--cc=tromey@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).