Re: [PATCH 2/4] libdw: Add dwarf_language and dwarf_language_lower_bound functions.

2025-03-26 Thread Aaron Merey
Hi Mark, On Tue, Mar 11, 2025 at 5:59 AM Mark Wielaard wrote: > > dwarf_language returns a DW_LNAME constant for a CU Die. If the CU Die > has a DW_AT_language_name attribute dwarf_language will return it and > the DW_AT_language_version attribute value. Otherwise dwarf_language > will lookup the

[PATCH 2/4] libdw: Add dwarf_language and dwarf_language_lower_bound functions.

2025-03-15 Thread Mark Wielaard
dwarf_language returns a DW_LNAME constant for a CU Die. If the CU Die has a DW_AT_language_name attribute dwarf_language will return it and the DW_AT_language_version attribute value. Otherwise dwarf_language will lookup the (old style) DW_AT_language attribute and translate the DW_LANG constant i