Lines Matching refs:cu

44 __libdw_read_begin_end_pair_inc (Dwarf_CU *cu, int sec_index,  in __libdw_read_begin_end_pair_inc()  argument
51 Dwarf *dbg = cu->dbg; in __libdw_read_begin_end_pair_inc()
53 && cu->version < 5 in __libdw_read_begin_end_pair_inc()
54 && cu->unit_type == DW_UT_split_compile) in __libdw_read_begin_end_pair_inc()
73 if (__libdw_addrx (cu, addr_idx, &base) != 0) in __libdw_read_begin_end_pair_inc()
83 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
88 if (__libdw_addrx (cu, addr_idx, &end) != 0) in __libdw_read_begin_end_pair_inc()
100 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
175 if (__libdw_addrx (cu, addr_idx, &base) != 0) in __libdw_read_begin_end_pair_inc()
186 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
191 if (__libdw_addrx (cu, addr_idx, &end) != 0) in __libdw_read_begin_end_pair_inc()
203 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
282 if (__libdw_addrx (cu, addr_idx, &base) != 0) in __libdw_read_begin_end_pair_inc()
293 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
298 if (__libdw_addrx (cu, addr_idx, &end) != 0) in __libdw_read_begin_end_pair_inc()
310 if (__libdw_addrx (cu, addr_idx, &begin) != 0) in __libdw_read_begin_end_pair_inc()
387 size_t secidx = (attr->cu->version < 5 in initial_offset()
394 Dwarf_CU *cu = attr->cu; in initial_offset() local
396 const unsigned char *endp = cu->endp; in initial_offset()
404 Elf_Data *data = cu->dbg->sectiondata[secidx]; in initial_offset()
405 if (data == NULL && cu->unit_type == DW_UT_split_compile) in initial_offset()
407 cu = __libdw_find_split_unit (cu); in initial_offset()
408 if (cu != NULL) in initial_offset()
409 data = cu->dbg->sectiondata[secidx]; in initial_offset()
420 Dwarf_Off range_base_off = __libdw_cu_ranges_base (cu); in initial_offset()
423 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset()
424 size_t offset_size = cu->offset_size; in initial_offset()
440 datap = (cu->dbg->sectiondata[secidx]->d_buf in initial_offset()
443 start_offset = read_4ubyte_unaligned (cu->dbg, datap); in initial_offset()
445 start_offset = read_8ubyte_unaligned (cu->dbg, datap); in initial_offset()
483 Dwarf_CU *cu = die->cu; in dwarf_ranges() local
484 if (cu == NULL) in dwarf_ranges()
490 size_t secidx = (cu->version < 5 ? IDX_debug_ranges : IDX_debug_rnglists); in dwarf_ranges()
491 const Elf_Data *d = cu->dbg->sectiondata[secidx]; in dwarf_ranges()
492 if (d == NULL && cu->unit_type == DW_UT_split_compile) in dwarf_ranges()
494 Dwarf_CU *skel = __libdw_find_split_unit (cu); in dwarf_ranges()
497 cu = skel; in dwarf_ranges()
498 d = cu->dbg->sectiondata[secidx]; in dwarf_ranges()
511 && die->cu->unit_type == DW_UT_split_compile) in dwarf_ranges()
517 *basep = __libdw_cu_base_address (attr->cu); in dwarf_ranges()
526 if (__libdw_offset_in_section (cu->dbg, in dwarf_ranges()
538 switch (__libdw_read_begin_end_pair_inc (cu, secidx, in dwarf_ranges()
540 cu->address_size, in dwarf_ranges()