[Bug libdw/31111] Handle Clang DWARF 5 DW_AT_decl_file 0

mark at klomp dot org sourceware-bugzilla@sourceware.org
Mon Dec 4 12:41:40 GMT 2023


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
So I assume this means dwarf_decl_file doesn't work for such DWARF because it
has:

  /* Zero means no source file information available.  */
  if (idx == 0)
    {
      __libdw_seterrno (DWARF_E_NO_ENTRY);
      return NULL;
    }

Are there other issues?

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


More information about the Elfutils-devel mailing list