Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dominikmascherbauer <dominik.mascherbauer@gmail.com>
To: gdb-patches@sourceware.org
Cc: dominikmascherbauer <dominik.mascherbauer@oracle.com>
Subject: [PATCH 0/3] DWARF type signature lookup fallback.
Date: Tue, 11 Mar 2025 15:57:17 +0100	[thread overview]
Message-ID: <cover.1741701275.git.dominik.mascherbauer@oracle.com> (raw)

I am working on a patch that adds parameters to allow type signature fallback for DWARF type units to fallback to other objfiles.
This allows to only create type units once and reuse them by their type signature, reducing duplication of type units.
It builds on the uniqueness of type signatures, so a type signature always references the same type unit.

This is my first time using a mailing list, so please remind me of any formatting errors or other mistakes.

Thanks,
Dominik

dominikmascherbauer (3):
  Add new commands for controlling type signature fallback.
  Add type signature fallback and JIT objfile restriction.
  Add testing for type signature fallback.

 gdb/NEWS                                      |  14 +
 gdb/doc/gdb.texinfo                           |  26 ++
 gdb/dwarf2/read.c                             | 254 ++++++++++++++++--
 gdb/jit.c                                     |   6 +-
 gdb/objfile-flags.h                           |   3 +
 .../gdb.dwarf2/sig-type-fallback-jit.c        |  62 +++++
 .../gdb.dwarf2/sig-type-fallback-jit.exp      |  75 ++++++
 7 files changed, 409 insertions(+), 31 deletions(-)
 create mode 100644 gdb/testsuite/gdb.dwarf2/sig-type-fallback-jit.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/sig-type-fallback-jit.exp


base-commit: 512316811d47d689d75d25aa9d5b98bdafd64df6
-- 
2.34.1


             reply	other threads:[~2025-03-11 14:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11 14:57 dominikmascherbauer [this message]
2025-03-11 14:57 ` [PATCH 1/3] Add new commands for controlling type signature fallback dominikmascherbauer
2025-03-11 17:33   ` Eli Zaretskii
2025-03-12  9:12     ` Dominik Mascherbauer
2025-03-12 14:38       ` Eli Zaretskii
2025-03-12 14:44         ` Dominik Mascherbauer
2025-03-11 14:57 ` [PATCH 2/3] Add type signature fallback and JIT objfile restriction dominikmascherbauer
2025-03-11 14:57 ` [PATCH 3/3] Add testing for type signature fallback dominikmascherbauer
2025-03-12 15:37 ` [PATCH v2 0/3] DWARF type signature lookup fallback dominikmascherbauer
2025-03-12 15:37   ` [PATCH v2 1/3] Add new commands for controlling type signature fallback dominikmascherbauer
2025-03-12 15:43     ` Eli Zaretskii
2025-03-12 15:37   ` [PATCH v2 2/3] Add type signature fallback and JIT objfile restriction dominikmascherbauer
2025-03-12 15:37   ` [PATCH v2 3/3] Add testing for type signature fallback dominikmascherbauer
2025-03-12 16:32 ` [PATCH 0/3] DWARF type signature lookup fallback Tom Tromey
2025-03-13 10:42   ` Dominik Mascherbauer
2025-03-13 15:37     ` Tom Tromey

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=cover.1741701275.git.dominik.mascherbauer@oracle.com \
    --to=dominik.mascherbauer@gmail.com \
    --cc=dominik.mascherbauer@oracle.com \
    --cc=gdb-patches@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