Home
last modified time | relevance | path

Searched refs:aranges (Results 1 – 25 of 35) sorted by relevance

12

/external/elfutils/libdw/
Ddwarf_getarange_addr.c38 dwarf_getarange_addr (Dwarf_Aranges *aranges, Dwarf_Addr addr) in dwarf_getarange_addr() argument
40 if (aranges == NULL) in dwarf_getarange_addr()
44 size_t l = 0, u = aranges->naranges; in dwarf_getarange_addr()
48 if (addr < aranges->info[idx].addr) in dwarf_getarange_addr()
50 else if (addr > aranges->info[idx].addr in dwarf_getarange_addr()
51 && addr - aranges->info[idx].addr >= aranges->info[idx].length) in dwarf_getarange_addr()
54 return &aranges->info[idx]; in dwarf_getarange_addr()
Ddwarf_getaranges.c57 dwarf_getaranges (Dwarf *dbg, Dwarf_Aranges **aranges, size_t *naranges) in dwarf_getaranges() argument
62 if (dbg->aranges != NULL) in dwarf_getaranges()
64 *aranges = dbg->aranges; in dwarf_getaranges()
66 *naranges = dbg->aranges->naranges; in dwarf_getaranges()
73 *aranges = NULL; in dwarf_getaranges()
225 *aranges = NULL; in dwarf_getaranges()
259 *aranges = buf; in dwarf_getaranges()
260 (*aranges)->dbg = dbg; in dwarf_getaranges()
261 (*aranges)->naranges = narangelist; in dwarf_getaranges()
262 dbg->aranges = *aranges; in dwarf_getaranges()
[all …]
Ddwarf_onearange.c38 dwarf_onearange (Dwarf_Aranges *aranges, size_t idx) in dwarf_onearange() argument
40 if (aranges == NULL) in dwarf_onearange()
43 if (idx >= aranges->naranges) in dwarf_onearange()
49 return &aranges->info[idx]; in dwarf_onearange()
Ddwarf_addrdie.c40 Dwarf_Aranges *aranges; in dwarf_addrdie() local
44 if (INTUSE(dwarf_getaranges) (dbg, &aranges, &naranges) != 0 in dwarf_addrdie()
45 || INTUSE(dwarf_getarangeinfo) (INTUSE(dwarf_getarange_addr) (aranges, in dwarf_addrdie()
Dlibdw.h789 extern int dwarf_getaranges (Dwarf *dbg, Dwarf_Aranges **aranges,
794 extern Dwarf_Arange *dwarf_onearange (Dwarf_Aranges *aranges, size_t idx);
801 extern Dwarf_Arange *dwarf_getarange_addr (Dwarf_Aranges *aranges,
DlibdwP.h183 Dwarf_Aranges *aranges; member
DChangeLog1872 aranges information.
2472 * libdwP.h: Add new errors. Add aranges member to struct Dwarf.
/external/elfutils/libdwfl/
Dcu.c38 return &mod->dw->aranges->info[mod->aranges[idx].arange]; in dwar()
45 if (mod->aranges == NULL) in addrarange()
47 struct dwfl_arange *aranges = NULL; in addrarange() local
57 aranges = malloc (naranges * sizeof *aranges); in addrarange()
58 if (unlikely (aranges == NULL)) in addrarange()
73 aranges[naranges].arange = i; in addrarange()
74 aranges[naranges].cu = NULL; in addrarange()
82 mod->aranges = (realloc (aranges, naranges * sizeof aranges[0]) in addrarange()
83 ?: aranges); in addrarange()
115 = &mod->dw->aranges->info[mod->dw->aranges->naranges - 1]; in addrarange()
[all …]
Ddwfl_module.c64 if (mod->aranges != NULL) in __libdwfl_module_free()
65 free (mod->aranges); in __libdwfl_module_free()
DlibdwflP.h209 struct dwfl_arange *aranges; /* Mapping of addresses in module to CUs. */ member
/external/elfutils/tests/
Dget-aranges.c57 Dwarf_Aranges *aranges; in main() local
59 if (dwarf_getaranges (dbg, &aranges, &naranges) != 0) in main()
67 found = dwarf_getarange_addr (aranges, testaddr[i]); in main()
99 Dwarf_Arange *arange = dwarf_onearange (aranges, i); in main()
Drun-readelf-zdebug.sh44 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-…
78aranges.out | sed -e "s/.debug_aranges' at offset 0xa65/.zdebug_aranges' at offset 0x1a5f/" | test…
Drun-readelf-aranges.sh114 testrun_compare ${abs_top_builddir}/src/readelf --debug-dump=aranges testfilefoobarbaz <<EOF
Drun-get-aranges.sh23 testrun_compare ${abs_builddir}/get-aranges testfile testfile2 <<\EOF
DMakefile.am42 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 \
DChangeLog1159 * run-readelf-aranges.sh: New test.
1161 * Makefile.am (TESTS): Add run-readelf-aranges.sh.
1162 (EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
2188 * get-aranges.c: Likewise.
2238 * run-get-aranges.sh: Likewise.
2293 * run-get-aranges.sh: Likewise.
2534 * get-aranges.c: Rewrite to use libdw.
2535 * Makefile.am: Reenable get-aranges test.
2543 * Makefile.am: Run get-lines test. Don't run get-aranges and
/external/elfutils/include/elfutils/
Dlibdw.h789 extern int dwarf_getaranges (Dwarf *dbg, Dwarf_Aranges **aranges,
794 extern Dwarf_Arange *dwarf_onearange (Dwarf_Aranges *aranges, size_t idx);
801 extern Dwarf_Arange *dwarf_getarange_addr (Dwarf_Aranges *aranges,
/external/llvm/test/DebugInfo/X86/
Darange.ll3 …0 -filetype=obj -generate-arange-section < %s | llvm-dwarfdump -debug-dump=aranges - | FileCheck %s
/external/elfutils/
D.gitignore124 /tests/get-aranges
DNEWS539 libdw, libdwfl: handle files without aranges info.
/external/valgrind/coregrind/m_debuginfo/
Dreaddwarf3.c5232 init_Cursor( &aranges, debug_aranges_img,
5241 if (is_at_end_Cursor( &aranges ))
5245 len = get_Initial_Length( &is64, &aranges,
5247 version = get_UShort( &aranges );
5248 d_i_offset = get_Dwarfish_UWord( &aranges, is64 );
5249 asize = get_UChar( &aranges );
5250 segsize = get_UChar( &aranges );
5259 while ((get_position_of_Cursor( &aranges ) % (2 * asize)) > 0) {
5260 (void)get_UChar( & aranges );
5263 ULong address = get_Dwarfish_UWord( &aranges, asize==8 );
[all …]
/external/elfutils/src/
Dreadelf.c4702 Dwarf_Aranges *aranges; in print_decoded_aranges_section() local
4704 if (unlikely (dwarf_getaranges (dbg, &aranges, &cnt) != 0)) in print_decoded_aranges_section()
4740 Dwarf_Arange *runp = dwarf_onearange (aranges, n); in print_decoded_aranges_section()
8342 NEW_SECTION (aranges), in print_debug()
/external/elfutils/config/
Delfutils.spec.in612 - libdw, libdwfl: handle files without aranges info.
/external/elfutils/po/
Duk.po4521 "Display DWARF section content. SECTION can be one of abbrev, aranges, "
4525 "Показати вміст розділу DWARF. Значенням РОЗДІЛ може бути abbrev, aranges, "
5622 msgid "unsupported aranges version"
5623 msgstr "непідтримувана версія aranges"
Dja.po4319 "Display DWARF section content. SECTION can be one of abbrev, aranges, "
4323 "DWARF セクションの内容を表示。SECTION は addrevか、aranges、frame、info、"
5332 msgid "unsupported aranges version"

12