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.

Reply via email to