------- Comment #14 from jakub at gcc dot gnu dot org 2009-09-22 12:13 ------- Correction - artificial variables aren't needed, DW_TAG_dwarf_procedure with just DW_AT_location with the expression or loclist is enough. That's BTW something that a dwarf compactor could do - look at dwarf expressions in DW_AT_location attributes and .debug_loc, see if there are subexpressions that occur frequently and big enough that replacing them with 3 byte DW_OP_call2 <ref2> would be worthwhile, for those add DW_TAG_dwarf_procedure at some low DIE offset (< 64KB into .debug_info). GCC could do that too of course, perhaps as a special pass over the debug info before sizing it.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roland at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41343