HomeSort by relevance Sort by last modified time
    Searched full:aranges (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/elfutils/libdw/
dwarf_getarange_addr.c 38 dwarf_getarange_addr (Dwarf_Aranges *aranges, Dwarf_Addr addr)
40 if (aranges == NULL)
44 size_t l = 0, u = aranges->naranges;
48 if (addr < aranges->info[idx].addr)
50 else if (addr > aranges->info[idx].addr
51 && addr - aranges->info[idx].addr >= aranges->info[idx].length)
54 return &aranges->info[idx];
dwarf_onearange.c 38 dwarf_onearange (Dwarf_Aranges *aranges, size_t idx)
40 if (aranges == NULL)
43 if (idx >= aranges->naranges)
49 return &aranges->info[idx];
dwarf_addrdie.c 40 Dwarf_Aranges *aranges; local
44 if (INTUSE(dwarf_getaranges) (dbg, &aranges, &naranges) != 0
45 || INTUSE(dwarf_getarangeinfo) (INTUSE(dwarf_getarange_addr) (aranges,
dwarf_getaranges.c 57 dwarf_getaranges (Dwarf *dbg, Dwarf_Aranges **aranges, size_t *naranges)
62 if (dbg->aranges != NULL)
64 *aranges = dbg->aranges;
66 *naranges = dbg->aranges->naranges;
73 *aranges = NULL;
225 *aranges = NULL;
259 *aranges = buf;
260 (*aranges)->dbg = dbg;
261 (*aranges)->naranges = narangelist
    [all...]
  /external/llvm/lib/DebugInfo/DWARF/
DWARFDebugAranges.cpp 43 // Extract aranges from .debug_aranges section.
47 // Generate aranges from DIEs: even if .debug_aranges section is present,
49 // manually build aranges for the rest of them.
66 Aranges.clear();
86 // CU, first try to extend the last range in Aranges. If we can't
88 if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress &&
89 ValidCUs.find(Aranges.back().CUOffset) != ValidCUs.end()) {
90 Aranges.back().setHighPC(E.Address);
92 Aranges.emplace_back(PrevAddress, E.Address, *ValidCUs.begin())
    [all...]
DWARFContext.cpp 335 if (Aranges)
336 return Aranges.get();
338 Aranges.reset(new DWARFDebugAranges());
339 Aranges->generate(this);
340 return Aranges.get();
  /external/elfutils/libdwfl/
cu.c 38 return &mod->dw->aranges->info[mod->aranges[idx].arange];
45 if (mod->aranges == NULL)
47 struct dwfl_arange *aranges = NULL; local
53 /* If the module has no aranges (when no code is included) we
57 aranges = malloc (naranges * sizeof *aranges);
58 if (unlikely (aranges == NULL))
73 aranges[naranges].arange = i;
74 aranges[naranges].cu = NULL
    [all...]
dwfl_module.c 64 if (mod->aranges != NULL)
65 free (mod->aranges);
  /external/elfutils/tests/
get-aranges.c 57 Dwarf_Aranges *aranges; local
59 if (dwarf_getaranges (dbg, &aranges, &naranges) != 0)
60 printf ("%s: cannot get aranges\n", argv[cnt]);
67 found = dwarf_getarange_addr (aranges, testaddr[i]);
99 Dwarf_Arange *arange = dwarf_onearange (aranges, i);
113 printf ("cannot get info from aranges[%zu]\n", i);
run-readelf-aranges.sh 20 # Tests readelf --debug-dump=aranges and --debug-dump=decodedaranges
114 testrun_compare ${abs_top_builddir}/src/readelf --debug-dump=aranges testfilefoobarbaz <<EOF
run-get-aranges.sh 23 testrun_compare ${abs_builddir}/get-aranges testfile testfile2 <<\EOF
run-readelf-zdebug.sh 44 tempfiles loc.out aranges.out ranges.out macro.out line.out frame.out
61 cat > aranges.out << \EOF
76 cat aranges.out | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=aranges testfile-debug
78 cat aranges.out | sed -e "s/.debug_aranges' at offset 0xa65/.zdebug_aranges' at offset 0x1a5f/" | testrun_compare ${abs_top_builddir}/src/readelf -U --debug-dump=aranges testfile-zdebug
Makefile.am 42 get-aranges allfcts line2addr addrscopes funcscopes \
76 run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \
94 run-readelf-aranges.sh run-readelf-line.sh run-readelf-z.sh \
154 run-get-pubnames.sh run-get-aranges.sh \
211 run-readelf-aranges.sh run-readelf-line.sh testfilefoobarbaz.bz2 \