addrmap_mutable mutable_map;
+ section->read (per_objfile->objfile);
if (read_addrmap_from_aranges (per_objfile, section, &mutable_map))
per_bfd->index_addrmap
= new (&per_bfd->obstack) addrmap_fixed (&per_bfd->obstack,
ranges.read (objfile);
rnglists.read (objfile);
addr.read (objfile);
+ debug_aranges.read (objfile);
for (auto §ion : types)
section.read (objfile);
dwarf2_section_info *section,
addrmap *mutable_map)
{
+ /* Caller must ensure that the section has already been read. */
+ gdb_assert (section->readin);
+ if (section->empty ())
+ return false;
+
struct objfile *objfile = per_objfile->objfile;
bfd *abfd = objfile->obfd.get ();
struct gdbarch *gdbarch = objfile->arch ();
}
std::set<sect_offset> debug_info_offset_seen;
-
- section->read (objfile);
-
const bfd_endian dwarf5_byte_order = gdbarch_byte_order (gdbarch);
-
const gdb_byte *addr = section->buffer;
-
while (addr < section->buffer + section->size)
{
const gdb_byte *const entry_addr = addr;