HomeSort by relevance Sort by last modified time
    Searched full:aranges (Results 1 - 25 of 109) 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/swiftshader/third_party/LLVM/lib/DebugInfo/
DWARFDebugAranges.cpp 78 Aranges.reserve(count);
79 AddArangeDescriptors range_adder(Aranges);
102 const Range &range = Aranges[i];
114 if (!Aranges.empty()) {
115 if (Aranges.back().Offset == offset && Aranges.back().HiPC() == low_pc) {
116 Aranges.back().setHiPC(high_pc);
120 Aranges.push_back(Range(low_pc, high_pc, offset));
124 const size_t orig_arange_size = Aranges.size();
129 std::stable_sort(Aranges.begin(), Aranges.end(), RangeLessThan)
    [all...]
DWARFDebugAranges.h 63 void clear() { Aranges.clear(); }
74 if (idx < Aranges.size())
75 return &Aranges[idx];
80 bool isEmpty() const { return Aranges.empty(); }
81 uint32_t getNumRanges() const { return Aranges.size(); }
84 if (idx < Aranges.size())
85 return Aranges[idx].Offset;
93 RangeColl Aranges;
DWARFContext.cpp 69 if (Aranges)
70 return Aranges.get();
74 Aranges.reset(new DWARFDebugAranges());
75 Aranges->extract(arangesData);
76 if (Aranges->isEmpty()) // No aranges in file, generate them from the DIEs.
77 Aranges->generate(this);
78 return Aranges.get();
DWARFContext.h 31 OwningPtr<DWARFDebugAranges> Aranges;
  /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 342 if (Aranges)
343 return Aranges.get();
345 Aranges.reset(new DWARFDebugAranges());
346 Aranges->generate(this);
347 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 \
  /prebuilts/go/darwin-x86/src/debug/dwarf/
open.go 17 aranges []byte
41 func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) {
44 aranges: aranges,
  /prebuilts/go/linux-x86/src/debug/dwarf/
open.go 17 aranges []byte
41 func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) {
44 aranges: aranges,
  /prebuilts/go/darwin-x86/src/runtime/
runtime-lldb_test.go 186 // Check that aranges are valid even when lldb isn't installed.
212 t.Fatal("Missing aranges section")
218 t.Fatal("Missing aranges section")
  /prebuilts/go/linux-x86/src/runtime/
runtime-lldb_test.go 186 // Check that aranges are valid even when lldb isn't installed.
212 t.Fatal("Missing aranges section")
218 t.Fatal("Missing aranges section")
  /external/llvm/include/llvm/DebugInfo/DWARF/
DWARFDebugAranges.h 81 RangeColl Aranges;
  /external/llvm/test/DebugInfo/X86/
arange.ll 3 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-dwarfdump -debug-dump=aranges - | FileCheck %s
  /external/elfutils/
.gitignore 124 /tests/get-aranges
  /toolchain/binutils/binutils-2.25/binutils/
dwarf.h 118 aranges, enumerator in enum:dwarf_section_display_enum

Completed in 776 milliseconds

1 2 3 4 5