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
On Mon, 07 Jun 2021 20:27:39 +0200, David Blaikie via Dwarf-Discuss wrote:
> Ah, in the sense that you want to be able to derive new types based on
> the DWARF?
> Fair enough.
The real reason is that when using the derived class C LLDB+LLVM layout engine
will assert because FieldOffsets from DWARF
On Mon, 07 Jun 2021 20:11:16 +0200, David Blaikie via Dwarf-Discuss wrote:
> On Mon, Jun 7, 2021 at 10:58 AM Jan Kratochvil via Dwarf-Discuss
> wrote:
> >
> > clang-12 will create the same DWARF for class B with [[no_unique_address]]
> > either present or not. Despite tha
Hi,
clang-12 will create the same DWARF for class B with [[no_unique_address]]
either present or not. Despite that class C derived from B has different
layout depending on from which class B it gets derived:
--
struct A {