[Bug libdw/28578] New: DW_AT_languge hint for partial units

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Nov 10 13:39:41 GMT 2021


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

            Bug ID: 28578
           Summary: DW_AT_languge hint for partial units
           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: ---

Parial units (CUs) might not have DW_AT_language set. This makes some
functions, like dwarf_aggregate_size, not work, since the language of the CU is
used for some defaults, like the default array lower bound (zero or one?).

Maybe we can add some kind of "hint" for partial units. So the first time they
get "imported" the language is set from the importing unit?

See also this thread:
https://sourceware.org/pipermail/elfutils-devel/2021q3/004221.html

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


More information about the Elfutils-devel mailing list