On Dec 16, 2013, at 4:53 PM, Eric Christopher <[email protected]> wrote:
> From the standard point of view it does appear that this trick is legal btw: > > "A debugging information entry that represents a non-defining or otherwise > incomplete declaration of a program entity has a > DW_AT_declaration attribute, which is a flag..." > > so this is merely being labeled as an incomplete type and is valid dwarf. There is no doubt that this is legal DWARF. > I'm not a fan of it necessarily, but a 20% win per object file is huge. I'd > honestly prefer that struct types worked more like namespaces, but that's a > rather serious change to the standard. Yes the win is big, I can certainly believe this. Though it comes at a cost for all downstream tools. Greg _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
