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: Search for abstract origin in the correct CU
Date: Mon, 30 Jan 2023 22:12:56 +0100	[thread overview]
Message-ID: <20230130211256.GD11361@gnu.wildebeest.org> (raw)
In-Reply-To: <20230123091520.688326-1-mark@klomp.org>

Hi,

On Mon, Jan 23, 2023 at 10:15:20AM +0100, Mark Wielaard wrote:
> With gcc -flto the abstract origin of an inlined subroutine
> could be in a different CU. dwarf_getscopes might return an
> empty scope if it cannot find the abstract origin scope. So
> make sure to search in the
> 
> We also tried to add the origin match in pc_record directly
> in the current inlined scope. This always failed, causing
> to do a needless traversal, followed by the full CU scan in
> dwarf_getscopes. Just always stop the pc_record search and
> then do the CU origin_match in dwarf_getscopes.

Pushed.

Cheers,

Mark

      reply	other threads:[~2023-01-30 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-23  9:15 Mark Wielaard
2023-01-30 21:12 ` 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=20230130211256.GD11361@gnu.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).