[lldb-dev] Adding DWARF5 accelerator table support to llvm
Pavel Labath via lldb-dev
lldb-dev at lists.llvm.org
Thu Feb 1 04:04:19 PST 2018
On 30 January 2018 at 16:39, Jan Kratochvil <jan.kratochvil at redhat.com> wrote:
> On Wed, 17 Jan 2018 17:13:36 +0100, Pavel Labath via lldb-dev wrote:
>> so I'm writing this email to see if there's anyone
>> else interested in this topic, and to try to synchronize our efforts.
> I am sure interested in DWARF-5 .debug_names. I wrote its producer+consumer
> for GDB (but not producing/using DW_IDX_DIE_offset as GDB cannot use it).
>> 1. add .debug_names support to llvm-dwarfdump via the DebugInfo
>> library (to enable testing of the table generation)
> FYI FSF binutils readelf can read .debug_names already for some possible
> format cross-check (to prevent multiple incompatible implementations).
>> 2. add .debug_names generation support (not enabled by default)
>> I also have a very basic implementation of (2), but this is still quite far
>> from being upstreamable.
> Originally I expected I will reuse the GDB .debug_names producer for LLVM:
> But I see you were faster.
Thanks for the heads-up. I will study these to make sure we are compatible.
PS: I think people who wrote on this thread are CC'ed on the patch
already, but in case anyone is interested, I have created
<https://reviews.llvm.org/D42740> to implement a unicode-aware
case-insensitive hash according to the dwarf spec.
More information about the lldb-dev