[PATCH v4] dwarf: Dump .debug_loclists only for DWARF-5

Nick Clifton nickc@redhat.com
Tue May 6 10:16:50 GMT 2025


Hi H.J.

> Given:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=32926
> 
> I'd like to backport
> 
> commit 82bdc396a40e64ea17acdba072bafbb3f620518f
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date:   Thu Mar 20 13:16:34 2025 -0700
> 
>      dwarf: Dump .debug_loclists only for DWARF-5
> 
>      .debug_loclists section is loaded into debug_information as DWARF-5 debug
>      info and .debug_loc section is loaded into debug_information as pre-DWARF-5
>      debug info.  When dumping .debug_loc section, we should only process
>      pre-DWARF-5 debug info in debug_information.  When dumping .debug_loclists
>      section, we should only process DWARF-5 info in debug_information.
> 
> to 2.44/2.43 branches.

That is fine with me.  Please go ahead.

Cheers
   Nick




More information about the Binutils mailing list