[Dwarf-Discuss] Resend Encoding large constant values

Jakub Jelinek jakub at redhat.com
Mon Sep 17 10:55:30 PDT 2012


On Mon, Sep 17, 2012 at 05:39:38PM +0000, Bishop, John E wrote:
> > Maybe DWARF needs a DW_FORM_data16.
> 
> Rather than one-plus to get data16 (soon we'd need data32, etc), I think
> you should use DW_FORM_block1.  If consumers make invalid assumptions, we
> shouldn't change DWARF to compensate for that.

Yeah.  We already need 32-byte constants (e.g. x86_64/i?86 __m256 vectors)
and for DW_AT_const_value of aggregates pretty much any other size.

	Jakub



More information about the Dwarf-Discuss mailing list