public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Subject: Re: [PATCH] libdw: Support DW_OP_addrx/constx and split DWARF addrx/constx support.
Date: Fri, 25 May 2018 13:10:00 -0000	[thread overview]
Message-ID: <1527253801.2911.27.camel@klomp.org> (raw)
In-Reply-To: <1526987421-32644-1-git-send-email-mark@klomp.org>

On Tue, 2018-05-22 at 13:10 +0200, Mark Wielaard wrote:
> DW_OP_addrx/constx and GNU DebugFission DW_OP_GNU_addr/const_index take
> as argument an index into the .debug_addr section for the associated CU.
> This index gets resolved through dwarf_getlocation_attr. A new fake addr
> CU is created per Dwarf for use with this new attribute. For split DWARF
> files, the IDX_debug_addr gets replaced with the skeleton section and the
> addr base is resolved immediately when constructing the split DWARF CU.
> Move __libdw_cu_addr_base to libdwP.h to share with eu-readelf. Also
> make it possible to resolve addrx[1234]/GNU_addr_index also as constant
> indexes to (also) show when displaying these attributes in eu-readelf.
> 
> A new varlocs tests is added to test the resolving for both the DWARF4
> and DWARF5 DW_OP variants. And now that addrx forms are resolved in
> split DWARF files add the new DIEs with "single ranges" (those DIEs that
> have a lowpc/highpc attribute pair) to run-all-dwarf-ranges.sh.

Pushed to master.

      reply	other threads:[~2018-05-25 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22 11:10 Mark Wielaard
2018-05-25 13:10 ` Mark Wielaard [this message]

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=1527253801.2911.27.camel@klomp.org \
    --to=mark@klomp.org \
    --cc=elfutils-devel@sourceware.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).