Re: [Dwarf Patch] Create .debug_str section in .o with -gsplit-dwarf (issue8540048)

2013-04-23 Thread Cary Coutant
> 2013-04-22 Sterling Augustine > > * dwarf2out.c (skeleton_debug_str_hash, comp_dir_string, > add_skeleton_AT_string. comp_dir_string, debug_str_dwo_section): New. s/./,/ I think comp_dir_string only needs to be mentioned once. > (DEBUG_STR_DWO_SECTION): Rename to ...

[Dwarf Patch] Create .debug_str section in .o with -gsplit-dwarf (issue8540048)

2013-04-23 Thread Sterling Augustine
As things stand now when using -gsplit-dwarf, all strings in the main .o file are emitted in line with DW_FORM_string, resulting in a large amount of duplication, particularly with the .dwo name attribute. The enclosed patch fixes that by putting these string in a small .debug_str section, simi