Lines Matching refs:this

114   { return this->do_type(); }  in type()
120 this->file_index_ = file_index; in set_offset()
121 this->offset_ = offset; in set_offset()
127 { this->info_offset_ = info_offset; } in set_info_offset()
132 { return this->file_index_; } in get_file_index()
137 { return this->offset_; } in get_offset()
142 { return this->info_offset_; } in get_info_offset()
147 { return this->filename_key_; } in get_filename_key()
152 { return this->arg_serial_; } in arg_serial()
157 { return this->mtime_; } in get_mtime()
162 { this->is_in_system_directory_ = true; } in set_is_in_system_directory()
167 { return this->is_in_system_directory_; } in is_in_system_directory()
172 { this->as_needed_ = true; } in set_as_needed()
177 { return this->as_needed_; } in as_needed()
183 { return this->do_script_entry(); } in script_entry()
189 { return this->do_object_entry(); } in object_entry()
195 { return this->do_dynobj_entry(); } in dynobj_entry()
201 { return this->do_archive_entry(); } in archive_entry()
278 { this->incremental_script_entry_ = entry; } in set_incremental_info()
283 { return this->filename_; } in filename()
288 { return this->input_file_index_; } in input_file_index()
293 { return this->incremental_script_entry_; } in incremental_info()
317 this->objects_.push_back(obj_entry); in add_object()
323 { return this->objects_.size(); } in get_object_count()
329 gold_assert(n < this->objects_.size()); in get_object()
330 return this->objects_[n]; in get_object()
341 { return this; } in do_script_entry()
357 { this->sections_.reserve(obj->shnum()); } in Incremental_object_entry()
362 { return this->obj_; } in object()
367 { this->is_member_ = true; } in set_is_member()
372 { return this->is_member_; } in is_member()
377 { this->sections_.push_back(Input_section(shndx, name_key, sh_size)); } in add_input_section()
382 { return this->sections_.size(); } in get_input_section_count()
387 { return this->sections_[n].shndx_; } in get_input_section_index()
392 { return this->sections_[n].name_key_; } in get_input_section_name_key()
397 { return this->sections_[n].sh_size_; } in get_input_section_size()
402 { this->groups_.push_back(signature_key); } in add_comdat_group()
407 { return this->groups_.size(); } in get_comdat_group_count()
412 { return this->groups_[n]; } in get_comdat_signature_key()
418 return (this->is_member_ in do_type()
426 { return this; } in do_object_entry()
466 { return this->obj_; } in object()
471 { return this->soname_key_; } in get_soname_key()
481 { return this; } in do_dynobj_entry()
506 this->members_.push_back(obj_entry); in add_object()
513 { this->unused_syms_.push_back(symbol_key); } in add_unused_global_symbol()
518 { return this->members_.size(); } in get_member_count()
523 { return this->members_[n]; } in get_member()
528 { return this->unused_syms_.size(); } in get_unused_global_symbol_count()
533 { return this->unused_syms_[n]; } in get_unused_global_symbol()
543 { return this; } in do_archive_entry()
569 ~Incremental_inputs() { delete this->strtab_; } in ~Incremental_inputs()
607 { return this->reloc_count_; } in get_reloc_count()
612 { this->reloc_count_ = count; } in set_reloc_count()
625 { return this->inputs_section_; } in inputs_section()
630 { return this->symtab_section_; } in symtab_section()
635 { return this->relocs_section_; } in relocs_section()
640 { return this->got_plt_section_; } in got_plt_section()
645 { return this->strtab_; } in get_stringpool()
651 { return this->command_line_; } in command_line()
656 { return this->command_line_key_; } in command_line_key()
661 { return this->inputs_.size(); } in input_file_count()
666 { return this->inputs_; } in input_files()
724 { return Swap32::readval(this->p_); } in output_symndx()
728 { return Swap32::readval(this->p_ + 4); } in shndx()
732 { return Swap32::readval(this->p_ + 8); } in next_offset()
736 { return Swap32::readval(this->p_ + 12); } in reloc_count()
740 { return Swap32::readval(this->p_ + 16); } in reloc_offset()
783 { this->input_file_count_ = Swap32::readval(this->p_ + 4); } in Incremental_inputs_reader()
788 { return Swap32::readval(this->p_); } in version()
793 { return this->input_file_count_; } in input_file_count()
799 unsigned int offset = Swap32::readval(this->p_ + 8); in command_line()
800 return this->get_string(offset); in command_line()
819 this->info_offset_ = Swap32::readval(inputs->p_ + offset + 4); in Incremental_input_entry_reader()
820 this->flags_ = Swap16::readval(this->inputs_->p_ + offset + 20); in Incremental_input_entry_reader()
827 unsigned int offset = Swap32::readval(this->inputs_->p_ + this->offset_); in filename()
828 return this->inputs_->get_string(offset); in filename()
835 return Swap16::readval(this->inputs_->p_ + this->offset_ + 22); in arg_serial()
843 const unsigned char* p = this->inputs_->p_ + this->offset_ + 8; in get_mtime()
852 { return static_cast<Incremental_input_type>(this->flags_ & 0xff); } in type()
857 { return (this->flags_ & INCREMENTAL_INPUT_IN_SYSTEM_DIR) != 0; } in is_in_system_directory()
862 { return (this->flags_ & INCREMENTAL_INPUT_AS_NEEDED) != 0; } in as_needed()
868 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_input_section_count()
869 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_input_section_count()
870 return Swap32::readval(this->inputs_->p_ + this->info_offset_); in get_input_section_count()
877 gold_assert(this->type() == INCREMENTAL_INPUT_SHARED_LIBRARY); in get_soname()
878 unsigned int offset = Swap32::readval(this->inputs_->p_ in get_soname()
879 + this->info_offset_); in get_soname()
880 return this->inputs_->get_string(offset); in get_soname()
888 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_symbol_offset()
889 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_symbol_offset()
891 unsigned int section_count = this->get_input_section_count(); in get_symbol_offset()
892 return (this->info_offset_ in get_symbol_offset()
893 + this->object_info_size in get_symbol_offset()
894 + section_count * this->input_section_entry_size in get_symbol_offset()
895 + symndx * this->global_sym_entry_size); in get_symbol_offset()
902 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_global_symbol_count()
903 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER in get_global_symbol_count()
904 || this->type() == INCREMENTAL_INPUT_SHARED_LIBRARY); in get_global_symbol_count()
905 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 4); in get_global_symbol_count()
912 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_local_symbol_offset()
913 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_local_symbol_offset()
915 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 8); in get_local_symbol_offset()
922 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_local_symbol_count()
923 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_local_symbol_count()
925 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 12); in get_local_symbol_count()
932 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_first_dyn_reloc()
933 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_first_dyn_reloc()
935 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 16); in get_first_dyn_reloc()
942 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_dyn_reloc_count()
943 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_dyn_reloc_count()
945 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 20); in get_dyn_reloc_count()
952 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_comdat_group_count()
953 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_comdat_group_count()
955 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 24); in get_comdat_group_count()
962 gold_assert(this->type() == INCREMENTAL_INPUT_SCRIPT); in get_object_count()
963 return Swap32::readval(this->inputs_->p_ + this->info_offset_); in get_object_count()
970 gold_assert(this->type() == INCREMENTAL_INPUT_SCRIPT); in get_object_offset()
971 return Swap32::readval(this->inputs_->p_ + this->info_offset_ in get_object_offset()
979 gold_assert(this->type() == INCREMENTAL_INPUT_ARCHIVE); in get_member_count()
980 return Swap32::readval(this->inputs_->p_ + this->info_offset_); in get_member_count()
987 gold_assert(this->type() == INCREMENTAL_INPUT_ARCHIVE); in get_unused_symbol_count()
988 return Swap32::readval(this->inputs_->p_ + this->info_offset_ + 4); in get_unused_symbol_count()
995 gold_assert(this->type() == INCREMENTAL_INPUT_ARCHIVE); in get_member_offset()
996 return Swap32::readval(this->inputs_->p_ + this->info_offset_ in get_member_offset()
1004 gold_assert(this->type() == INCREMENTAL_INPUT_ARCHIVE); in get_unused_symbol()
1005 unsigned int member_count = this->get_member_count(); in get_unused_symbol()
1006 unsigned int offset = Swap32::readval(this->inputs_->p_ in get_unused_symbol()
1007 + this->info_offset_ + 8 in get_unused_symbol()
1010 return this->inputs_->get_string(offset); in get_unused_symbol()
1027 const unsigned char* p = (this->inputs_->p_ in get_input_section()
1028 + this->info_offset_ in get_input_section()
1029 + this->object_info_size in get_input_section()
1030 + n * this->input_section_entry_size); in get_input_section()
1032 info.name = this->inputs_->get_string(name_offset); in get_input_section()
1043 gold_assert(this->type() == INCREMENTAL_INPUT_OBJECT in get_global_symbol_reader()
1044 || this->type() == INCREMENTAL_INPUT_ARCHIVE_MEMBER); in get_global_symbol_reader()
1045 unsigned int section_count = this->get_input_section_count(); in get_global_symbol_reader()
1046 const unsigned char* p = (this->inputs_->p_ in get_global_symbol_reader()
1047 + this->info_offset_ in get_global_symbol_reader()
1048 + this->object_info_size in get_global_symbol_reader()
1049 + section_count * this->input_section_entry_size in get_global_symbol_reader()
1050 + n * this->global_sym_entry_size); in get_global_symbol_reader()
1058 unsigned int section_count = this->get_input_section_count(); in get_comdat_group_signature()
1059 unsigned int symbol_count = this->get_global_symbol_count(); in get_comdat_group_signature()
1060 const unsigned char* p = (this->inputs_->p_ in get_comdat_group_signature()
1061 + this->info_offset_ in get_comdat_group_signature()
1062 + this->object_info_size in get_comdat_group_signature()
1063 + section_count * this->input_section_entry_size in get_comdat_group_signature()
1064 + symbol_count * this->global_sym_entry_size in get_comdat_group_signature()
1067 return this->inputs_->get_string(name_offset); in get_comdat_group_signature()
1077 gold_assert(this->type() == INCREMENTAL_INPUT_SHARED_LIBRARY); in get_output_symbol_index()
1078 const unsigned char* p = (this->inputs_->p_ in get_output_symbol_index()
1079 + this->info_offset_ + 8 in get_output_symbol_index()
1116 gold_assert(n < this->input_file_count_); in input_file_offset()
1117 return this->header_size + n * this->input_entry_size; in input_file_offset()
1124 int n = ((offset - this->header_size) / this->input_entry_size); in input_file_index()
1132 { return Incremental_input_entry_reader(this, this->input_file_offset(n)); } in input_file()
1138 gold_assert(offset < (this->header_size in input_file_at_offset()
1139 + this->input_file_count_ * this->input_entry_size)); in input_file_at_offset()
1140 return Incremental_input_entry_reader(this, offset); in input_file_at_offset()
1147 const unsigned char* p = this->p_ + offset; in global_symbol_reader_at_offset()
1156 if (this->strtab_.get_c_string(offset, &s)) in get_string()
1186 { return static_cast<unsigned int>(this->len_ / 4); } in symbol_count()
1191 { return elfcpp::Swap<32, big_endian>::readval(this->p_ + 4 * n); } in get_list_head()
1227 { return static_cast<unsigned int>(this->len_ / reloc_size); } in reloc_count()
1232 { return elfcpp::Swap<32, big_endian>::readval(this->p_ + off); } in get_r_type()
1237 { return elfcpp::Swap<32, big_endian>::readval(this->p_ + off + 4); } in get_r_shndx()
1242 { return elfcpp::Swap<size, big_endian>::readval(this->p_ + off + 8); } in get_r_offset()
1248 return elfcpp::Swap<size, big_endian>::readval(this->p_ + off + 8 in get_r_addend()
1249 + this->field_size); in get_r_addend()
1255 { return this->p_ + off; } in data()
1276 this->got_count_ = elfcpp::Swap<32, big_endian>::readval(p); in Incremental_got_plt_reader()
1277 this->got_desc_p_ = p + 8 + ((this->got_count_ + 3) & ~3); in Incremental_got_plt_reader()
1278 this->plt_desc_p_ = this->got_desc_p_ + this->got_count_ * 8; in Incremental_got_plt_reader()
1285 return this->got_count_; in get_got_entry_count()
1292 return elfcpp::Swap<32, big_endian>::readval(this->p_ + 4); in get_plt_entry_count()
1299 return this->p_[8 + n]; in get_got_type()
1306 return elfcpp::Swap<32, big_endian>::readval(this->got_desc_p_ + n * 8); in get_got_symndx()
1313 return elfcpp::Swap<32, big_endian>::readval(this->got_desc_p_ + n * 8 + 4); in get_got_input_index()
1320 return elfcpp::Swap<32, big_endian>::readval(this->plt_desc_p_ + n * 4); in get_plt_desc()
1357 { return this->do_check_inputs(cmdline, incremental_inputs); } in check_inputs()
1380 { return this->do_filename(); } in filename()
1384 { return this->do_get_mtime(); } in get_mtime()
1388 { return this->do_type(); } in type()
1392 { return this->do_arg_serial(); } in arg_serial()
1396 { return this->do_get_unused_symbol_count(); } in get_unused_symbol_count()
1400 { return this->do_get_unused_symbol(n); } in get_unused_symbol()
1425 { return this->do_input_file_count(); } in input_file_count()
1430 { return this->do_get_input_reader(n); } in get_input_reader()
1435 { return this->do_file_has_changed(n); } in file_has_changed()
1442 const Input_reader* input_file = this->do_get_input_reader(n); in get_input_argument()
1444 if (arg_serial == 0 || arg_serial > this->input_args_map_.size()) in get_input_argument()
1446 return this->input_args_map_[arg_serial - 1]; in get_input_argument()
1452 { return this->library_map_[n]; } in get_library()
1457 { return this->script_map_[n]; } in get_script_info()
1463 { this->do_init_layout(layout); } in init_layout()
1468 { this->do_reserve_layout(input_file_index); } in reserve_layout()
1473 { this->do_process_got_plt(symtab, layout); } in process_got_plt()
1478 { this->do_emit_copy_relocs(symtab); } in emit_copy_relocs()
1484 { this->do_apply_incremental_relocs(symtab, layout, of); } in apply_incremental_relocs()
1502 { return this->p_; } in data()
1511 { return View(this->output_->get_input_view(file_offset, data_size)); } in view()
1531 { return View(this->view(loc.file_offset, loc.data_size)); } in view()
1536 { return this->output_; } in output_file()
1598 : Incremental_binary(output, target), elf_file_(this, ehdr), in Sized_incremental_binary()
1603 { this->setup_readers(); } in Sized_incremental_binary()
1608 { return this->has_incremental_info_; } in has_incremental_info()
1614 { this->input_objects_[n] = obj; } in set_input_object()
1620 gold_assert(n < this->input_objects_.size()); in input_object()
1621 return this->input_objects_[n]; in input_object()
1627 { return this->section_map_[shndx]; } in output_section()
1634 { this->symbol_map_[symndx] = gsym; } in add_global_symbol()
1641 { return this->symbol_map_[symndx]; } in global_symbol()
1646 { this->copy_relocs_.push_back(Copy_reloc(gsym, os, offset)); } in add_copy_reloc()
1652 { return this->inputs_reader_; } in inputs_reader()
1656 { return this->symtab_reader_; } in symtab_reader()
1660 { return this->relocs_reader_; } in relocs_reader()
1664 { return this->got_plt_reader_; } in got_plt_reader()
1725 { return this->reader_.filename(); } in do_filename()
1729 { return this->reader_.get_mtime(); } in do_get_mtime()
1733 { return this->reader_.type(); } in do_type()
1737 { return this->reader_.arg_serial(); } in do_arg_serial()
1741 { return this->reader_.get_unused_symbol_count(); } in do_get_unused_symbol_count()
1745 { return this->reader_.get_unused_symbol(n); } in do_get_unused_symbol()
1752 { return this->inputs_reader_.input_file_count(); } in do_input_file_count()
1757 gold_assert(n < this->input_entry_readers_.size()); in do_get_input_reader()
1758 return &this->input_entry_readers_[n]; in do_get_input_reader()
1877 { return this->input_reader_.get_mtime(); } in do_get_mtime()
1957 { return &this->symbols_; } in do_get_global_symbols()
1975 { return this->local_symbol_count_; } in do_local_symbol_count()
1980 { return this->local_symbol_count_; } in do_output_local_symbol_count()
1985 { return this->local_symbol_offset_; } in do_local_symbol_offset()
2088 { return this->input_reader_.get_mtime(); } in do_get_mtime()
2168 { return &this->symbols_; } in do_get_global_symbols()
2207 { return this->input_file_index_; } in input_file_index()
2212 { return this->input_reader_->arg_serial(); } in arg_serial()
2226 bool was_reported = this->is_reported_; in is_reported()
2237 { return this->filename_; } in do_filename()
2242 { return this->input_reader_->get_mtime(); } in do_get_mtime()