| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | diagnostic-show-locus.cc | 939 loc_a = get_location_from_adhoc_loc (line_table, loc_a); in compatible_locations_p() 941 loc_b = get_location_from_adhoc_loc (line_table, loc_b); in compatible_locations_p() 949 const line_map *map_a = linemap_lookup (line_table, loc_a); in compatible_locations_p() 952 const line_map *map_b = linemap_lookup (line_table, loc_b); in compatible_locations_p() 964 = linemap_location_from_macro_definition_p (line_table, loc_a); in compatible_locations_p() 966 = linemap_location_from_macro_definition_p (line_table, loc_b); in compatible_locations_p() 974 = linemap_macro_map_loc_unwind_toward_spelling (line_table, in compatible_locations_p() 978 = linemap_macro_map_loc_unwind_toward_spelling (line_table, in compatible_locations_p() 1256 source_range src_range = get_range_from_loc (line_table, loc_range->m_loc); in maybe_add_location_range() 2930 rich_location richloc (line_table, in test_offset_impl() [all …]
|
| D | edit-context.cc | 963 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_before() 966 location_t start = linemap_position_for_column (line_table, 7); in test_applying_fixits_insert_before() 967 rich_location richloc (line_table, start); in test_applying_fixits_insert_before() 1018 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_after() 1021 location_t start = linemap_position_for_column (line_table, 11); in test_applying_fixits_insert_after() 1022 location_t finish = linemap_position_for_column (line_table, 15); in test_applying_fixits_insert_after() 1024 rich_location richloc (line_table, field); in test_applying_fixits_insert_after() 1063 linemap_add (line_table, LC_ENTER, false, tmp.get_filename (), 2); in test_applying_fixits_insert_after_at_line_end() 1066 location_t loc = linemap_position_for_column (line_table, 16); in test_applying_fixits_insert_after_at_line_end() 1067 rich_location richloc (line_table, loc); in test_applying_fixits_insert_after_at_line_end() [all …]
|
| D | input.cc | 185 class line_maps *line_table; variable 239 loc = linemap_unwind_to_first_non_reserved_loc (line_table, in expand_location_1() 243 loc = linemap_resolve_location (line_table, loc, lrk, &map); in expand_location_1() 273 xloc = linemap_expand_location (line_table, map, loc); in expand_location_1() 317 if (linemap_get_file_highest_location (line_table, file_path, &l)) in total_lines_num() 942 loc = linemap_resolve_location (line_table, loc, in is_location_from_builtin_token() 1008 location_t xloc = linemap_resolve_location (line_table, location, in expansion_point_location_if_in_system_header() 1020 return linemap_resolve_location (line_table, location, in expansion_point_location() 1045 location_t combined_loc = COMBINE_LOCATION_DATA (line_table, in make_location() 1058 return COMBINE_LOCATION_DATA (line_table, pure_loc, src_range, NULL); in make_location() [all …]
|
| D | input.h | 26 extern GTY(()) class line_maps *line_table; 172 ((IS_ADHOC_LOC (LOC)) ? get_location_from_adhoc_loc (line_table, LOC) \ 175 ((tree) ((IS_ADHOC_LOC (LOC)) ? get_data_from_adhoc_loc (line_table, (LOC)) \ 193 return linemap_location_in_system_header_p (line_table, loc); in in_system_header_at() 202 return linemap_location_from_macro_expansion_p (line_table, loc); in from_macro_expansion_at() 212 return linemap_location_from_macro_definition_p (line_table, loc); in from_macro_definition_at() 218 return get_pure_location (line_table, loc); in get_pure_location() 226 return get_range_from_loc (line_table, loc).m_start; in get_start() 234 return get_range_from_loc (line_table, loc).m_finish; in get_finish()
|
| D | diagnostic.cc | 729 probe = linemap_included_from_linemap (line_table, map); in includes_seen() 755 linemap_resolve_location (line_table, where, in diagnostic_report_current_module() 769 map = linemap_included_from_linemap (line_table, map); in diagnostic_report_current_module() 1106 if (!linemap_location_before_p (line_table, pragloc, loc)) in update_effective_level_from_pragmas() 1265 rich_location richloc (line_table, loc); in warning_enabled_at() 1503 rich_location richloc (line_table, location); in diagnostic_append_note() 1586 rich_location richloc (line_table, location); in emit_diagnostic() 1612 rich_location richloc (line_table, location); in emit_diagnostic_valist() 1624 rich_location richloc (line_table, location); in inform() 1651 rich_location richloc (line_table, location); in inform_n() [all …]
|
| D | tree-diagnostic.cc | 110 map = linemap_lookup (line_table, where); in maybe_unwind_expanded_macro_loc() 135 where = linemap_unwind_toward_expansion (line_table, where, &map); in maybe_unwind_expanded_macro_loc() 183 linemap_resolve_location (line_table, iter->where, in maybe_unwind_expanded_macro_loc() 190 linemap_resolve_location (line_table, resolved_def_loc, in maybe_unwind_expanded_macro_loc() 215 linemap_resolve_location (line_table, in maybe_unwind_expanded_macro_loc()
|
| D | ggc-common.cc | 729 struct line_maps * old_line_table = line_table; in gt_pch_restore() 737 class line_maps *save_line_table = line_table; in gt_pch_restore() 751 line_table = old_line_table; in gt_pch_restore() 767 class line_maps *new_line_table = line_table; in gt_pch_restore() 768 line_table = save_line_table; in gt_pch_restore() 774 line_table = old_line_table; in gt_pch_restore() 787 line_table = old_line_table; in gt_pch_restore() 803 line_table = old_line_table; in gt_pch_restore() 810 line_table = old_line_table; in gt_pch_restore() 818 line_table = old_line_table; in gt_pch_restore() [all …]
|
| D | opt-problem.cc | 182 = linemap_check_ordinary (linemap_add (line_table, LC_ENTER, false, in test_opt_result_failure_at() 184 linemap_line_start (line_table, 5, 100); in test_opt_result_failure_at() 187 const location_t line_5 = linemap_position_for_column (line_table, 10); in test_opt_result_failure_at() 191 = linemap_position_for_line_and_column (line_table, ord_map, 6, 12); in test_opt_result_failure_at()
|
| D | substring-locations.cc | 155 = get_range_from_loc (line_table, m_fmt_loc.get_fmt_string_loc ()); in emit_warning_n_va() 158 = get_range_from_loc (line_table, fmt_substring_loc); in emit_warning_n_va() 223 rich_location substring_richloc (line_table, fmt_substring_loc, in emit_warning_n_va()
|
| D | gcc-rich-location.cc | 104 const line_map *indent_map = linemap_lookup (line_table, indent); in use_new_line() 113 = linemap_lookup (line_table, insertion_point); in use_new_line() 120 = linemap_position_for_line_and_column (line_table, ordmap, in use_new_line()
|
| D | toplev.cc | 1088 line_table = ggc_alloc<line_maps> (); in general_init() 1089 linemap_init (line_table, BUILTINS_LOCATION); in general_init() 1090 line_table->reallocator = realloc_for_line_map; in general_init() 1091 line_table->round_alloc_size = ggc_round_alloc_size; in general_init() 1092 line_table->default_range_bits = 5; in general_init() 1705 line_table->default_range_bits = 0; in process_options()
|
| D | tree-diagnostic-path.cc | 103 if (linemap_location_from_macro_expansion_p (line_table, loc1)) in can_consolidate_events() 105 if (linemap_location_from_macro_expansion_p (line_table, loc2)) in can_consolidate_events() 188 if (linemap_location_from_macro_expansion_p (line_table, initial_loc)) in print()
|
| D | gcc-rich-location.h | 34 : rich_location (line_table, loc, label) in rich_location() argument
|
| D | rtl-error.cc | 70 rich_location richloc (line_table, location_for_asm (insn)); in diagnostic_for_asm()
|
| D | genmatch.cc | 53 static class line_maps *line_table; variable 68 loc = linemap_resolve_location (line_table, loc, LRK_SPELLING_LOCATION, &map); in linemap_client_expand_location_to_spelling_point() 69 return linemap_expand_location (line_table, map, loc); in linemap_client_expand_location_to_spelling_point() 82 linemap_resolve_location (line_table, location, LRK_SPELLING_LOCATION, &map); in diagnostic_cb() 83 expanded_location loc = linemap_expand_location (line_table, map, location); in diagnostic_cb() 123 rich_location richloc (line_table, tk->src_loc); in fatal_at() 136 rich_location richloc (line_table, loc); in fatal_at() 149 rich_location richloc (line_table, tk->src_loc); in warning_at() 162 rich_location richloc (line_table, loc); in warning_at() 191 linemap_resolve_location (line_table, location, LRK_SPELLING_LOCATION, &map); in output_line_directive() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libcpp/ |
| D | init.cc | 184 class line_maps *line_table) in cpp_create_reader() argument 250 pfile->line_table = line_table; in cpp_create_reader() 303 cpp_set_line_map (cpp_reader *pfile, class line_maps *line_table) in cpp_set_line_map() argument 305 pfile->line_table = line_table; in cpp_set_line_map() 713 (LINEMAPS_LAST_MAP (pfile->line_table, false)); in cpp_read_main_file() 720 auto *map = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table); in cpp_read_main_file() 761 (LINEMAPS_LAST_MAP (pfile->line_table, false))[-1]; in read_original_filename() 765 pfile->line_table->highest_location in read_original_filename() 766 = pfile->line_table->highest_line in read_original_filename() 772 pfile->line_table->info_ordinary.used--; in read_original_filename() [all …]
|
| D | internal.h | 72 const class line_maps *line_table = PFILE->line_table; \ 74 LINEMAPS_LAST_ORDINARY_MAP (line_table); \ 75 linenum_type line = SOURCE_LINE (map, line_table->highest_line); \ 76 linemap_line_start (PFILE->line_table, line + 1, COLS_HINT); \ 424 class line_maps *line_table; member 959 : rich_location (pfile->line_table, in encoding_rich_location() 966 : rich_location (pfile->line_table, loc) in encoding_rich_location()
|
| D | errors.cc | 41 return pfile->line_table->highest_line; in cpp_diagnostic_get_current_location() 81 rich_location richloc (pfile->line_table, src_loc); in cpp_diagnostic() 204 rich_location richloc (pfile->line_table, src_loc); in cpp_diagnostic_with_line() 301 rich_location richloc (pfile->line_table, src_loc); in cpp_error_at()
|
| D | files.cc | 930 (pfile, pfile->line_table, loc, file->path)); in _cpp_stack_file() 1002 && (pfile->line_table->highest_location in _cpp_stack_file() 1005 pfile->line_table->highest_location--; in _cpp_stack_file() 1020 = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table); in _cpp_stack_file() 1021 linenum_type line = SOURCE_LINE (map, pfile->line_table->highest_line); in _cpp_stack_file() 1022 linemap_line_start (pfile->line_table, line - 1, 0); in _cpp_stack_file() 1214 int sysp = pfile->line_table->highest_line > 1 && pfile->buffer ? pfile->buffer->sysp : 0; in open_file_failed() 1330 entry->location = pfile->line_table->highest_location; in make_cpp_dir() 1401 location = get_location_from_adhoc_loc (pfile->line_table, location); in cpp_included_before() 1502 const class line_maps *line_table = pfile->line_table; in cpp_make_system_header() local [all …]
|
| D | directives.cc | 308 pfile->directive_line = pfile->line_table->highest_line; in start_directive() 536 rich_location richloc (pfile->line_table, dname->src_loc); in _cpp_handle_directive() 538 = get_range_from_loc (pfile->line_table, dname->src_loc); in _cpp_handle_directive() 852 if (pfile->line_table->depth >= CPP_OPTION (pfile, max_include_depth)) in do_include_common() 857 pfile->line_table->depth, in do_include_common() 971 class line_maps *line_table = pfile->line_table; in do_line() local 972 const line_map_ordinary *map = LINEMAPS_LAST_ORDINARY_MAP (line_table); in do_line() 1025 line_table->seen_line_directive = true; in do_line() 1034 class line_maps *line_table = pfile->line_table; in do_linemarker() local 1035 const line_map_ordinary *map = LINEMAPS_LAST_ORDINARY_MAP (line_table); in do_linemarker() [all …]
|
| D | lex.cc | 1125 cpp_error_with_line (pfile, CPP_DL_WARNING, pfile->line_table->highest_line, col, in _cpp_process_line_notes() 1130 cpp_error_with_line (pfile, CPP_DL_PEDWARN, pfile->line_table->highest_line, col, in _cpp_process_line_notes() 1146 pfile->line_table->highest_line, col, in _cpp_process_line_notes() 1154 pfile->line_table->highest_line, col, in _cpp_process_line_notes() 1348 location_t start_loc = linemap_position_for_column (pfile->line_table, in get_location_for_byte_range_in_cur_line() 1350 location_t end_loc = linemap_position_for_column (pfile->line_table, in get_location_for_byte_range_in_cur_line() 1359 location_t combined_loc = COMBINE_LOCATION_DATA (pfile->line_table, in get_location_for_byte_range_in_cur_line() 1541 : rich_location (pfile->line_table, loc, &m_custom_label) in unpaired_bidi_rich_location() 1570 = linemap_position_for_column (pfile->line_table, in maybe_warn_bidi_on_close() 1605 rich_location rich_loc (pfile->line_table, loc); in maybe_warn_bidi_on_char() [all …]
|
| D | macro.cc | 456 (linemap_lookup (pfile->line_table, in _cpp_warn_if_unused_macro() 611 name = linemap_get_expansion_filename (pfile->line_table, in _cpp_builtin_macro_text() 612 pfile->line_table->highest_line); in _cpp_builtin_macro_text() 641 number = pfile->line_table->depth - 1; in _cpp_builtin_macro_text() 650 loc = pfile->line_table->highest_line; in _cpp_builtin_macro_text() 652 loc = linemap_resolve_location (pfile->line_table, loc, in _cpp_builtin_macro_text() 654 number = linemap_get_expansion_line (pfile->line_table, loc); in _cpp_builtin_macro_text() 844 linemap_enter_macro (pfile->line_table, node, loc, 1); in builtin_macro() 846 pfile->line_table->builtin_location, in builtin_macro() 847 pfile->line_table->builtin_location, in builtin_macro() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | dwarf2.c | 275 struct line_info_table *line_table; member 406 struct line_info_table *line_table; member 2696 if (unit->line_offset == 0 && file->line_table) in decode_line_info() 2697 return file->line_table; in decode_line_info() 3072 file->line_table = table; in decode_line_info() 3641 *filename_ptr = concat_filename (unit->line_table, in find_abstract_instance() 4088 func->caller_file = concat_filename (unit->line_table, in scan_unit_for_symbols() 4155 func->file = concat_filename (unit->line_table, in scan_unit_for_symbols() 4201 var->file = concat_filename (unit->line_table, in scan_unit_for_symbols() 4657 || unit->line_table == NULL) /* The line info table has not been loaded. */ in comp_unit_may_contain_address() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | dwarf2.c | 275 struct line_info_table *line_table; member 406 struct line_info_table *line_table; member 2718 if (unit->line_offset == 0 && file->line_table) in decode_line_info() 2719 return file->line_table; in decode_line_info() 3093 file->line_table = table; in decode_line_info() 3662 *filename_ptr = concat_filename (unit->line_table, in find_abstract_instance() 4109 func->caller_file = concat_filename (unit->line_table, in scan_unit_for_symbols() 4176 func->file = concat_filename (unit->line_table, in scan_unit_for_symbols() 4222 var->file = concat_filename (unit->line_table, in scan_unit_for_symbols() 4678 || unit->line_table == NULL) /* The line info table has not been loaded. */ in comp_unit_may_contain_address() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/cp/ |
| D | module.cc | 3222 init (line_table, nullptr); in maybe_init() 13592 = MAP_START_LOCATION (LINEMAPS_ORDINARY_MAP_AT (line_table, 0)); in init() 13646 = LINEMAPS_MACRO_LOWEST_LOCATION (line_table); in open() 13671 = ((line_table->highest_location + (1 << line_table->default_range_bits)) in close() 13672 & ~((1u << line_table->default_range_bits) - 1)); in close() 13673 interval.macro.first = LINEMAPS_MACRO_LOWEST_LOCATION (line_table); in close() 15548 = linemap_check_ordinary (linemap_lookup (line_table, from)); in imported_from() 15576 location_t locus = get_location_from_adhoc_loc (line_table, loc); in write_location() 15578 source_range range = get_range_from_loc (line_table, loc); in write_location() 15585 else if (loc >= LINEMAPS_MACRO_LOWEST_LOCATION (line_table)) in write_location() [all …]
|