Re: [Dwarf-Discuss] Producing .debug_names and questions about this lookup format

2022-02-01 Thread Jan Kratochvil via Dwarf-Discuss
On Wed, 02 Feb 2022 01:08:27 +0100, David Blaikie via Dwarf-Discuss wrote: > Clang does (if you pass -gpubnames in addition to -gdwarf-5). Looks like it > only uses DW_FORM_ref4 as though they were absolute (not unit-relative) > offsets. Looks like @Pavel Labath added this DWARFv5 > .debug_names s

Re: [Dwarf-Discuss] Producing .debug_names and questions about this lookup format

2022-02-01 Thread David Blaikie via Dwarf-Discuss
On Tue, Feb 1, 2022 at 3:45 PM Greg Clayton via Dwarf-Discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > I am in the process if writing a tool that can add .debug_names to a file > that contains DWARF but doesn’t have an accelerator table that is adequate > for debuggers to use. I was trying to

[Dwarf-Discuss] Producing .debug_names and questions about this lookup format

2022-02-01 Thread Greg Clayton via Dwarf-Discuss
I am in the process if writing a tool that can add .debug_names to a file that contains DWARF but doesn’t have an accelerator table that is adequate for debuggers to use. I was trying to see some example implementations of the .debug_names section to see exactly what I should emit from this tool