<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div class="gmail_attr">Forwarding to Mailing list.</div><div dir="ltr">Hello Everyone,<div><br></div><div>I'm trying to implement DW_FORM_implicit_const as an experimental feature to evaluate its gain in the overall size reduction in debug info.</div><div><br></div><div>In my initial implementation, DW_FORM_implicit_const is emitted only when a *constant* attribute is same across multiple DIE's.</div><div><br></div><div>This is accomplished, in process of *uniquing* of Abbrevs i.e if an Abbrev is duplicate that suggests it's shared by multiple DIE's, so we replaced the constant attributes[DW_AT_decl_file] {value, form}  with DW_FORM_implicit_const in corresponding Abbrev.</div><div><br></div><div>The problem I'm facing, is in deletion of  the attribute[DW_AT_decl_file] from DIE's[debug_info] that are using this abbrev.  These DIE's are laid out as DIEValueList, Is there a way to cleanly remove a node[Attribute] from this list ??</div><div><br></div><div>Can anybody share comments/thoughts on the implementation side of this and suggest  how to overcome the deletion of attributes from the DIEs in the debug_info section.</div><div><div><br></div><div>Thank You, </div><div>Sourabh.</div></div></div>
</div></div>