Home
last modified time | relevance | path

Searched refs:nscopes (Results 1 – 5 of 5) sorted by relevance

/third_party/elfutils/libdw/
Ddwarf_getscopes.c43 unsigned int inlined, nscopes; member
99 unsigned int nscopes = a->nscopes + depth; in origin_match() local
100 Dwarf_Die *scopes = realloc (a->scopes, nscopes * sizeof scopes[0]); in origin_match()
112 scopes[a->nscopes++] = die->die; in origin_match()
114 while (a->nscopes < nscopes); in origin_match()
116 return a->nscopes; in origin_match()
132 a->nscopes = depth + 1 - a->inlined; in pc_record()
133 a->scopes = malloc (a->nscopes * sizeof a->scopes[0]); in pc_record()
140 for (unsigned int i = 0; i < a->nscopes; ++i) in pc_record()
149 return a->nscopes; in pc_record()
Ddwarf_getscopevar.c86 dwarf_getscopevar (Dwarf_Die *scopes, int nscopes, in dwarf_getscopevar() argument
97 for (int out = 0; out < nscopes; ++out) in dwarf_getscopevar()
Dlibdw.h864 extern int dwarf_getscopevar (Dwarf_Die *scopes, int nscopes,
/third_party/elfutils/src/
Daddr2line.c322 int nscopes = dwarf_getscopes (cudie, addr - bias, &scopes); in print_dwarf_function() local
323 if (nscopes <= 0) in print_dwarf_function()
327 for (int i = 0; i < nscopes; ++i) in print_dwarf_function()
739 int nscopes = dwarf_getscopes (cudie, addr - bias, &scopes); in handle_address() local
740 if (nscopes < 0) in handle_address()
743 if (nscopes > 0) in handle_address()
752 nscopes = dwarf_getscopes_die (&subroutine, &scopes); in handle_address()
753 if (nscopes > 1) in handle_address()
760 for (int i = 0; i < nscopes - 1; i++) in handle_address()
776 for (int j = i + 1; j < nscopes; j++) in handle_address()
Dstack.c328 int nscopes = dwarf_getscopes_die (die, &scopes); in print_inline_frames() local
329 if (nscopes > 0) in print_inline_frames()
340 for (int i = 1; i < nscopes && (maxframes == 0 || *nr < maxframes); i++) in print_inline_frames()
391 int nscopes = dwarf_getscopes (cudie, pc_adjusted - bias, in print_frames() local
395 for (int i = 0; symname == NULL && i < nscopes; i++) in print_frames()