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: Cache ELF directory early. Explicitly set it in dwfl.
Date: Sun, 20 May 2018 21:46:00 -0000	[thread overview]
Message-ID: <20180520214516.GA26110@wildebeest.org> (raw)
In-Reply-To: <1526579022-4486-1-git-send-email-mark@klomp.org>

On Thu, May 17, 2018 at 07:43:42PM +0200, Mark Wielaard wrote:
> The logic that finds alt files and dwo files relies on having an open
> file descriptor. But after all needed ELF data has been read the
> underlying Elf file descriptor can be closed. libdwfl in particular
> closes file descriptor fairly aggressively. So capture the directory
> early on. And make dwfl set it if it has recorded it. Which it will
> do now before closing a file descriptor for the main Dwfl_Module file.

Pushed to master.

      reply	other threads:[~2018-05-20 21:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-17 17:43 Mark Wielaard
2018-05-20 21:46 ` 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=20180520214516.GA26110@wildebeest.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).