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