public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug libdw/28578] New: DW_AT_languge hint for partial units
@ 2021-11-10 13:39 mark at klomp dot org
  0 siblings, 0 replies; only message in thread
From: mark at klomp dot org @ 2021-11-10 13:39 UTC (permalink / raw)
  To: elfutils-devel

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.

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 13:39 [Bug libdw/28578] New: DW_AT_languge hint for partial units 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).