[Dwarf-Discuss] DWARF bitness in loclists, etc

2022-06-26 Thread Vsevolod Alekseyev via Dwarf-Discuss
Greetings, I'm involved with a Python DWARF parser, Pyelftools ( https://github.com/eliben/pyelftools/ ). I have a question about DWARF5 and the newly indexed loclists/rnglists sections, please. In those sections, each CU gets a block. The block starts with a header, which starts with a

Re: [Dwarf-Discuss] DWARF bitness in loclists, etc

2022-06-26 Thread David Anderson via Dwarf-Discuss
On 6/26/22 05:52, Vsevolod Alekseyev via Dwarf-Discuss wrote: Greetings, I’m involved with a Python DWARF parser, Pyelftools ( https://github.com/eliben/pyelftools/ ). I have a question about DWARF5 and the newly indexed loclists/rnglists sections,

Re: [Dwarf-Discuss] DWARF bitness in loclists, etc

2022-06-26 Thread Vsevolod Alekseyev via Dwarf-Discuss
Makes sense, thank you. It's enough for me to go with as far as parsing is concerned. That said, why bother with the bitness indicator in the ...lists sections at all? I can't imagine parsing them from top to bottom; debugger-type applications normally look up loclists based on DIE data, and a

Re: [Dwarf-Discuss] DWARF bitness in loclists, etc

2022-06-26 Thread David Blaikie via Dwarf-Discuss
On Sun, Jun 26, 2022 at 2:24 PM Vsevolod Alekseyev via Dwarf-Discuss wrote: > > Makes sense, thank you. It's enough for me to go with as far as parsing is > concerned. > > That said, why bother with the bitness indicator in the ...lists sections at > all? I can't imagine parsing them from top