public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug libdw/28574] New: Reduce the size of struct line_state and Dwarf_Line_s
@ 2021-11-10  9:27 mark at klomp dot org
  0 siblings, 0 replies; only message in thread
From: mark at klomp dot org @ 2021-11-10  9:27 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=28574

            Bug ID: 28574
           Summary: Reduce the size of struct line_state and Dwarf_Line_s
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libdw
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

struct line_state and Dwarf_Line_s contain various fields which are often never
used. op_index, isa, discriminator and for the linemap extensions context and
functionname. On the other hand it doesn't contain some of the DWARF5 additions
like the md5sum.

For DWARF5 we should be able to just have the fields that are actually defined.
For DWARF4 and below we should at least try to get away with just the most used
fields and only use extended records for the lesser (never) used fields.

See also the discussion here:
https://sourceware.org/pipermail/elfutils-devel/2021q3/004198.html

Note that there is a DWARF6 proposal to have "optional" records in file name
tables:
https://dwarfstd.org/ShowIssue.php?issue=211108.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-10  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10  9:27 [Bug libdw/28574] New: Reduce the size of struct line_state and Dwarf_Line_s mark at klomp dot org

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).