dwarf2out.c (debug_line_str_section): New variable.
* dwarf2out.c (debug_line_str_section): New variable. (debug_line_str_hash): Likewise. (DEBUG_LINE_STR_SECTION): Define. (set_indirect_string): Handle DW_FORM_line_strp like DW_FORM_strp. (find_string_form): Fix up formatting. (size_of_die): Handle DW_FORM_line_strp like DW_FORM_strp. Fix up indentation. (output_die): Handle DW_FORM_line_strp. (DWARF5_USE_DEBUG_LINE_STR): Define. (output_line_string): New function. (output_file_names): Add -gdwarf-5 support. (output_line_info): Likewise. (init_sections_and_labels): Initialize debug_line_str_section. (output_indirect_string): Change 2nd argument from void * to enum dwarf_form form, compare with form rather than DW_FORM_strp. (output_indirect_strings): Pass DW_FORM_strp to output_indirect_string traversion. (dwarf2out_finish): Output .debug_line_str strings. (dwarf2out_c_finalize): Clear debug_line_str_section and debug_line_str_hash. From-SVN: r241723
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment