public inbox for debugedit@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: debugedit@sourceware.org
Subject: Re: [PATCH 2/2] debugedit: Handle DW_MACRO_{define,undef}_strx
Date: Wed, 22 May 2024 16:02:08 +0200	[thread overview]
Message-ID: <adb994b09c85732e05871edf25406b4d6b5407ff.camel@klomp.org> (raw)
In-Reply-To: <20240519210548.183878-2-mark@klomp.org>

Hi,

On Sun, 2024-05-19 at 23:05 +0200, Mark Wielaard wrote:
> For DW_MACRO_{define,undef}_strx we need to record the string index of
> the macro. Since this is read through the .debug_str_offets we need to
> know the relevant str_offsets_base of the CU associated with the macro
> table. Add a macros_offs field to struct CU. Set this in when seeing a
> DW_AT_macros. And make sure relocations against .debug_macros are
> resolved when handling ET_REL files.
> 
> Now all (macro) tests pass with CC=clang even when clang defaults to
> -gdwarf-5. The .debug_types tests are skipped because clang doesn't
> emit that section.

Pushed to main. Hopefully all builders will now be green!

Cheers,

Mark

  reply	other threads:[~2024-05-22 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-19 21:05 [PATCH 1/2] debugedit: Track active CU Mark Wielaard
2024-05-19 21:05 ` [PATCH 2/2] debugedit: Handle DW_MACRO_{define,undef}_strx Mark Wielaard
2024-05-22 14:02   ` Mark Wielaard [this message]
2024-05-22 13:52 ` [PATCH 1/2] debugedit: Track active CU 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=adb994b09c85732e05871edf25406b4d6b5407ff.camel@klomp.org \
    --to=mark@klomp.org \
    --cc=debugedit@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).