Lines Matching refs:object
94 make_elf_reloc_mapper(Relobj* object, const unsigned char* symtab, in make_elf_reloc_mapper() argument
97 if (object->elfsize() == 32) in make_elf_reloc_mapper()
99 if (object->is_big_endian()) in make_elf_reloc_mapper()
102 return new Sized_elf_reloc_mapper<32, true>(object, symtab, in make_elf_reloc_mapper()
111 return new Sized_elf_reloc_mapper<32, false>(object, symtab, in make_elf_reloc_mapper()
118 else if (object->elfsize() == 64) in make_elf_reloc_mapper()
120 if (object->is_big_endian()) in make_elf_reloc_mapper()
123 return new Sized_elf_reloc_mapper<64, true>(object, symtab, in make_elf_reloc_mapper()
132 return new Sized_elf_reloc_mapper<64, false>(object, symtab, in make_elf_reloc_mapper()
170 Relobj* object, in do_read_abbrevs() argument
182 for (unsigned int i = 1; i < object->shnum(); ++i) in do_read_abbrevs()
184 std::string name = object->section_name(i); in do_read_abbrevs()
191 abbrev_offset -= object->output_section_offset(i); in do_read_abbrevs()
210 object->decompressed_section_contents(abbrev_shndx, in do_read_abbrevs()
303 Relobj* object, in read_ranges_table() argument
319 for (unsigned int i = 1; i < object->shnum(); ++i) in read_ranges_table()
321 std::string name = object->section_name(i); in read_ranges_table()
325 this->output_section_offset_ = object->output_section_offset(i); in read_ranges_table()
344 object->decompressed_section_contents(ranges_shndx, in read_ranges_table()
358 if (object->is_incremental()) in read_ranges_table()
364 for (unsigned int i = 0; i < object->shnum(); ++i) in read_ranges_table()
366 reloc_type = object->section_type(i); in read_ranges_table()
369 && object->section_info(i) == ranges_shndx) in read_ranges_table()
376 this->ranges_reloc_mapper_ = make_elf_reloc_mapper(object, symtab, in read_ranges_table()
388 Relobj* object, in read_range_list() argument
397 if (!this->read_ranges_table(object, symtab, symtab_size, ranges_shndx)) in read_range_list()
451 if (shndx1 == 0 || object->is_section_included(shndx1)) in read_range_list()
457 object->name().c_str()); in read_range_list()
486 Dwarf_pubnames_table::read_section(Relobj* object, const unsigned char* symtab, in read_section() argument
496 for (unsigned int i = 1; i < object->shnum(); ++i) in read_section()
498 std::string section_name = object->section_name(i); in read_section()
521 this->buffer_ = object->decompressed_section_contents(shndx, in read_section()
529 if (object->is_incremental()) in read_section()
535 for (unsigned int i = 0; i < object->shnum(); ++i) in read_section()
537 reloc_type = object->section_type(i); in read_section()
540 && object->section_info(i) == shndx) in read_section()
547 this->reloc_mapper_ = make_elf_reloc_mapper(object, symtab, symtab_size); in read_section()
1383 Relobj* object = this->object_; in do_read_string_table() local
1391 std::string name = object->section_name(i); in do_read_string_table()
1396 object->output_section_offset(i); in do_read_string_table()
1413 object->decompressed_section_contents(string_shndx, in do_read_string_table()
1549 Object* object, in Sized_dwarf_line_info() argument
1559 for (unsigned int i = 1; i < object->shnum(); ++i) in Sized_dwarf_line_info()
1565 std::string name = object->section_name(i); in Sized_dwarf_line_info()
1569 object->decompressed_section_contents(i, &buffer_size, &is_new); in Sized_dwarf_line_info()
1578 object->decompressed_section_contents(i, &buffer_size, &is_new); in Sized_dwarf_line_info()
1593 for (unsigned int i = 0; i < object->shnum(); ++i) in Sized_dwarf_line_info()
1595 unsigned int reloc_sh_type = object->section_type(i); in Sized_dwarf_line_info()
1598 && object->section_info(i) == debug_line_shndx) in Sized_dwarf_line_info()
1610 for (symtab_shndx = 0; symtab_shndx < object->shnum(); ++symtab_shndx) in Sized_dwarf_line_info()
1611 if (object->section_type(symtab_shndx) == elfcpp::SHT_SYMTAB) in Sized_dwarf_line_info()
1613 this->symtab_buffer_ = object->section_contents( in Sized_dwarf_line_info()
1622 new Sized_elf_reloc_mapper<size, big_endian>(object, in Sized_dwarf_line_info()
1632 object->name().c_str(), read_shndx); in Sized_dwarf_line_info()
2648 Object* object; member
2655 : object(o), shndx(s), dwarf_line_info(d), in Addr2line_cache_entry()
2667 Dwarf_line_info::one_addr2line(Object* object, in one_addr2line() argument
2678 if (it->object == object && it->shndx == shndx) in one_addr2line()
2700 lineinfo = new Sized_dwarf_line_info<32, false>(object, shndx); break; in one_addr2line()
2704 lineinfo = new Sized_dwarf_line_info<32, true>(object, shndx); break; in one_addr2line()
2708 lineinfo = new Sized_dwarf_line_info<64, false>(object, shndx); break; in one_addr2line()
2712 lineinfo = new Sized_dwarf_line_info<64, true>(object, shndx); break; in one_addr2line()
2717 addr2line_cache.push_back(Addr2line_cache_entry(object, shndx, lineinfo)); in one_addr2line()