From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Subject: Re: [PATCH 2/3] libdw: Update acceptable forms and attributes for dwarf_getlocation.
Date: Fri, 10 Nov 2017 15:38:00 -0000 [thread overview]
Message-ID: <1510328309.10879.90.camel@klomp.org> (raw)
In-Reply-To: <1509838266-10337-2-git-send-email-mark@klomp.org>
On Sun, 2017-11-05 at 00:31 +0100, Mark Wielaard wrote:
> dwarf_getlocation has to know which attributes can contain a DWARF
> expression or location list because the form alone might be ambiguous.
>
> Since DWARF4 there is DW_FORM_exprloc so always accept that. But for older
> DWARF or location lists we cannot just check for DW_FORM_sec_offset since
> that could be a reference to diffent kinds of sections (based on attribute).
>
> Update the attribute list based on the latest DWARF5 encodings table.
> Note that DW_AT_call_origin wasn't added because that seems to be a
> typo in the DWARF5 spec. http://dwarfstd.org/ShowIssue.php?issue=171103.1
Pushed to master.
next prev parent reply other threads:[~2017-11-10 15:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-04 23:31 [PATCH 1/3] readelf: Handle DW_OP_GNU_variable_value Mark Wielaard
2017-11-04 23:31 ` [PATCH 3/3] libdw: " Mark Wielaard
2017-11-10 15:38 ` Mark Wielaard
2017-11-04 23:31 ` [PATCH 2/3] libdw: Update acceptable forms and attributes for dwarf_getlocation Mark Wielaard
2017-11-10 15:38 ` Mark Wielaard [this message]
2017-11-10 15:38 ` [PATCH 1/3] readelf: Handle DW_OP_GNU_variable_value 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=1510328309.10879.90.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).