Lines Matching refs:info_ptr
98 bfd_byte *info_ptr; member
998 bfd_byte * info_ptr, in read_attribute_value() argument
1006 if (info_ptr >= info_ptr_end && form != DW_FORM_flag_present) in read_attribute_value()
1010 return info_ptr; in read_attribute_value()
1023 attr->u.val = read_4_bytes (unit->abfd, info_ptr, info_ptr_end); in read_attribute_value()
1025 attr->u.val = read_8_bytes (unit->abfd, info_ptr, info_ptr_end); in read_attribute_value()
1026 info_ptr += unit->offset_size; in read_attribute_value()
1031 attr->u.val = read_address (unit, info_ptr, info_ptr_end); in read_attribute_value()
1032 info_ptr += unit->addr_size; in read_attribute_value()
1037 attr->u.val = read_4_bytes (unit->abfd, info_ptr, info_ptr_end); in read_attribute_value()
1039 attr->u.val = read_8_bytes (unit->abfd, info_ptr, info_ptr_end); in read_attribute_value()
1040 info_ptr += unit->offset_size; in read_attribute_value()
1047 blk->size = read_2_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1048 info_ptr += 2; in read_attribute_value()
1049 blk->data = read_n_bytes (abfd, info_ptr, info_ptr_end, blk->size); in read_attribute_value()
1050 info_ptr += blk->size; in read_attribute_value()
1058 blk->size = read_4_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1059 info_ptr += 4; in read_attribute_value()
1060 blk->data = read_n_bytes (abfd, info_ptr, info_ptr_end, blk->size); in read_attribute_value()
1061 info_ptr += blk->size; in read_attribute_value()
1065 attr->u.val = read_2_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1066 info_ptr += 2; in read_attribute_value()
1069 attr->u.val = read_4_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1070 info_ptr += 4; in read_attribute_value()
1073 attr->u.val = read_8_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1074 info_ptr += 8; in read_attribute_value()
1077 attr->u.str = read_string (abfd, info_ptr, info_ptr_end, &bytes_read); in read_attribute_value()
1078 info_ptr += bytes_read; in read_attribute_value()
1081 attr->u.str = read_indirect_string (unit, info_ptr, info_ptr_end, &bytes_read); in read_attribute_value()
1082 info_ptr += bytes_read; in read_attribute_value()
1085 attr->u.str = read_alt_indirect_string (unit, info_ptr, info_ptr_end, &bytes_read); in read_attribute_value()
1086 info_ptr += bytes_read; in read_attribute_value()
1094 blk->size = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, info_ptr_end); in read_attribute_value()
1095 info_ptr += bytes_read; in read_attribute_value()
1096 blk->data = read_n_bytes (abfd, info_ptr, info_ptr_end, blk->size); in read_attribute_value()
1097 info_ptr += blk->size; in read_attribute_value()
1105 blk->size = read_1_byte (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1106 info_ptr += 1; in read_attribute_value()
1107 blk->data = read_n_bytes (abfd, info_ptr, info_ptr_end, blk->size); in read_attribute_value()
1108 info_ptr += blk->size; in read_attribute_value()
1112 attr->u.val = read_1_byte (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1113 info_ptr += 1; in read_attribute_value()
1116 attr->u.val = read_1_byte (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1117 info_ptr += 1; in read_attribute_value()
1123 attr->u.sval = safe_read_leb128 (abfd, info_ptr, &bytes_read, TRUE, info_ptr_end); in read_attribute_value()
1124 info_ptr += bytes_read; in read_attribute_value()
1127 attr->u.val = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, info_ptr_end); in read_attribute_value()
1128 info_ptr += bytes_read; in read_attribute_value()
1131 attr->u.val = read_1_byte (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1132 info_ptr += 1; in read_attribute_value()
1135 attr->u.val = read_2_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1136 info_ptr += 2; in read_attribute_value()
1139 attr->u.val = read_4_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1140 info_ptr += 4; in read_attribute_value()
1143 attr->u.val = read_8_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1144 info_ptr += 8; in read_attribute_value()
1147 attr->u.val = read_8_bytes (abfd, info_ptr, info_ptr_end); in read_attribute_value()
1148 info_ptr += 8; in read_attribute_value()
1151 attr->u.val = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, info_ptr_end); in read_attribute_value()
1152 info_ptr += bytes_read; in read_attribute_value()
1155 form = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, info_ptr_end); in read_attribute_value()
1156 info_ptr += bytes_read; in read_attribute_value()
1157 info_ptr = read_attribute_value (attr, form, unit, info_ptr, info_ptr_end); in read_attribute_value()
1165 return info_ptr; in read_attribute_value()
1174 bfd_byte * info_ptr, in read_attribute() argument
1178 info_ptr = read_attribute_value (attr, abbrev->form, unit, info_ptr, info_ptr_end); in read_attribute()
1179 return info_ptr; in read_attribute()
2282 bfd_byte *info_ptr; in find_abstract_instance_name() local
2299 info_ptr = unit->sec_info_ptr + die_ref; in find_abstract_instance_name()
2303 if (info_ptr >= unit->info_ptr_unit && info_ptr < unit->end_ptr) in find_abstract_instance_name()
2311 if (info_ptr >= u->info_ptr_unit && info_ptr < u->end_ptr) in find_abstract_instance_name()
2316 if (info_ptr >= u->info_ptr_unit && info_ptr < u->end_ptr) in find_abstract_instance_name()
2326 info_ptr = read_alt_indirect_ref (unit, die_ref); in find_abstract_instance_name()
2327 if (info_ptr == NULL) in find_abstract_instance_name()
2341 info_ptr = unit->info_ptr_unit + die_ref; in find_abstract_instance_name()
2345 abbrev_number = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, info_ptr_end); in find_abstract_instance_name()
2346 info_ptr += bytes_read; in find_abstract_instance_name()
2361 info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, in find_abstract_instance_name()
2362 info_ptr, info_ptr_end); in find_abstract_instance_name()
2363 if (info_ptr == NULL) in find_abstract_instance_name()
2455 bfd_byte *info_ptr = unit->first_child_die_ptr; in scan_unit_for_symbols() local
2482 if (info_ptr >= info_ptr_end) in scan_unit_for_symbols()
2485 abbrev_number = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, info_ptr_end); in scan_unit_for_symbols()
2486 info_ptr += bytes_read; in scan_unit_for_symbols()
2549 info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr, info_ptr_end); in scan_unit_for_symbols()
2550 if (info_ptr == NULL) in scan_unit_for_symbols()
2739 bfd_byte *info_ptr = stash->info_ptr; in parse_comp_unit() local
2740 bfd_byte *end_ptr = info_ptr + unit_length; in parse_comp_unit()
2747 version = read_2_bytes (abfd, info_ptr, end_ptr); in parse_comp_unit()
2748 info_ptr += 2; in parse_comp_unit()
2751 abbrev_offset = read_4_bytes (abfd, info_ptr, end_ptr); in parse_comp_unit()
2753 abbrev_offset = read_8_bytes (abfd, info_ptr, end_ptr); in parse_comp_unit()
2754 info_ptr += offset_size; in parse_comp_unit()
2755 addr_size = read_1_byte (abfd, info_ptr, end_ptr); in parse_comp_unit()
2756 info_ptr += 1; in parse_comp_unit()
2799 abbrev_number = safe_read_leb128 (abfd, info_ptr, &bytes_read, FALSE, end_ptr); in parse_comp_unit()
2800 info_ptr += bytes_read; in parse_comp_unit()
2835 info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr, end_ptr); in parse_comp_unit()
2836 if (info_ptr == NULL) in parse_comp_unit()
2912 unit->first_child_die_ptr = info_ptr; in parse_comp_unit()
3794 stash->info_ptr = stash->info_ptr_memory; in _bfd_dwarf2_slurp_debug_info()
3795 stash->info_ptr_end = stash->info_ptr + total_size; in _bfd_dwarf2_slurp_debug_info()
3797 stash->sec_info_ptr = stash->info_ptr; in _bfd_dwarf2_slurp_debug_info()
3928 if (! stash->info_ptr) in _bfd_dwarf2_find_nearest_line()
4032 while (stash->info_ptr < stash->info_ptr_end) in _bfd_dwarf2_find_nearest_line()
4036 bfd_byte *info_ptr_unit = stash->info_ptr; in _bfd_dwarf2_find_nearest_line()
4038 length = read_4_bytes (stash->bfd_ptr, stash->info_ptr, stash->info_ptr_end); in _bfd_dwarf2_find_nearest_line()
4044 length = read_8_bytes (stash->bfd_ptr, stash->info_ptr + 4, stash->info_ptr_end); in _bfd_dwarf2_find_nearest_line()
4045 stash->info_ptr += 12; in _bfd_dwarf2_find_nearest_line()
4053 length = read_4_bytes (stash->bfd_ptr, stash->info_ptr + 4, stash->info_ptr_end); in _bfd_dwarf2_find_nearest_line()
4054 stash->info_ptr += 8; in _bfd_dwarf2_find_nearest_line()
4068 stash->info_ptr += 4; in _bfd_dwarf2_find_nearest_line()
4071 stash->info_ptr += 4; in _bfd_dwarf2_find_nearest_line()
4084 new_ptr = stash->info_ptr + length; in _bfd_dwarf2_find_nearest_line()
4086 if (new_ptr < stash->info_ptr) in _bfd_dwarf2_find_nearest_line()
4093 stash->info_ptr = new_ptr; in _bfd_dwarf2_find_nearest_line()
4126 if ((bfd_vma) (stash->info_ptr - stash->sec_info_ptr) in _bfd_dwarf2_find_nearest_line()
4131 stash->sec_info_ptr = stash->info_ptr; in _bfd_dwarf2_find_nearest_line()