[Dwarf-Discuss] Resend Encoding large constant values
Cary Coutant
ccoutant@google.com
Mon Sep 17 20:28:46 GMT 2012
> Other debug formats that I've seen represented large constant values by encoding the constant value a sequence of bytes, in the target platform's byte order. The number of bytes in the constant value is (at least) as long as the length of the type of the named constant. This is very convenient for the debugger because it does not need to figure out if it has to convert the value of the named constant to some other format that matches its type.
>
> So, IMO, it would be nice if there was a DWARF form that allowed the length and the raw bytes of the constant value to be encoded.
Isn't DW_FORM_block* the form you're looking for?
-cary
More information about the Dwarf-discuss
mailing list