From: Dodji Seketeli <dodji@redhat.com>
To: elfutils-devel@lists.fedorahosted.org
Subject: Re: [PATCH 1/2] libdw: Add new function dwarf_cu_getdwarf.
Date: Sun, 17 Aug 2014 12:52:17 +0200 [thread overview]
Message-ID: <87bnrjs80u.fsf@redhat.com> (raw)
In-Reply-To: 1408111714-15541-1-git-send-email-mjw@redhat.com
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
Mark Wielaard <mjw@redhat.com> writes:
> In both systemtap and libabigail there is a need to get the actual Dwarf
> underlying an Dwarf_Die or Dwarf_Attribute. Following a DIE reference
> might end up in an alternate Dwarf since the addition of DWZ multifile
> forms. Both Dwarf_Die and Dwarf_Attribute already contain a Dwarf_CU
> handle. Add a function dwarf_cu_getdwarf to retrieve the underlying
> Dwarf using the Dwarf_CU.
Thanks Mark!
This, indeed, is going to be useful for libabigail at least. This new
dwarf_cu_getdwarf function, along with the existing dwarf_diecu function
will allow us to get the actual Dwarf a given DIE comes from. And with
the recently added dwarf_getalt function, we'll be able to tel if the
DIE comes from the alternate Dwarf or not. This is awesome.
Thanks again.
Cheers.
--
Dodji
next reply other threads:[~2014-08-17 10:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-17 10:52 Dodji Seketeli [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-20 9:31 Mark Wielaard
2014-08-18 14:03 Mark Wielaard
2014-08-15 14:08 Mark Wielaard
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=87bnrjs80u.fsf@redhat.com \
--to=dodji@redhat.com \
--cc=elfutils-devel@lists.fedorahosted.org \
/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).