From: Sasha Da Rocha Pinheiro <darochapinhe@wisc.edu>
To: "elfutils-devel@sourceware.org" <elfutils-devel@sourceware.org>,
"Mark Wielaard" <mark@klomp.org>
Subject: dwarf_next_cfi returns -1
Date: Mon, 04 Jun 2018 16:16:00 -0000 [thread overview]
Message-ID: <BN6PR06MB2932DB5CADF5CA66DA7E793BA6670@BN6PR06MB2932.namprd06.prod.outlook.com> (raw)
Hi,
We had a case where dwarf_next_cfi returns -1 but the offset does not update, as we should expect by the comment:
330 On errors, returns -1. Some format errors will permit safely
331 skipping to the next CFI entry though the current one is unusable.
332 In that case, *NEXT_OFF will be updated before a -1 return.
Is there a correct way to deal with it, or just check if the NEXT_OFF had changed?
Sasha
next reply other threads:[~2018-06-04 16:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-04 16:16 Sasha Da Rocha Pinheiro [this message]
2018-06-05 11:27 ` Mark Wielaard
2018-06-27 23:01 ` Sasha Da Rocha Pinheiro
2018-06-27 23:42 ` 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=BN6PR06MB2932DB5CADF5CA66DA7E793BA6670@BN6PR06MB2932.namprd06.prod.outlook.com \
--to=darochapinhe@wisc.edu \
--cc=elfutils-devel@sourceware.org \
--cc=mark@klomp.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).