Searched refs:llbuf (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_loclist.c | 57 dwarf_loclist_n(Dwarf_Attribute at, Dwarf_Locdesc ***llbuf, argument 65 if (at == NULL || llbuf == NULL || listlen == NULL) { 96 at->u[0].u64, llbuf, listlen, NULL, error); 114 *llbuf = calloc(1, sizeof(Dwarf_Locdesc *)); 115 if (*llbuf == NULL) { 119 (*llbuf)[0] = calloc(1, sizeof(Dwarf_Locdesc)); 120 if ((*llbuf)[0] == NULL) { 121 free(*llbuf); 125 if (copy_locdesc(dbg, (*llbuf)[0], at->at_ld, error) != 127 free((*llbuf)[ 146 dwarf_loclist(Dwarf_Attribute at, Dwarf_Locdesc **llbuf, Dwarf_Signed *listlen, Dwarf_Error *error) argument 178 Dwarf_Locdesc *ld, **llbuf; local 226 dwarf_loclist_from_expr(Dwarf_Debug dbg, Dwarf_Ptr bytes_in, Dwarf_Unsigned bytes_len, Dwarf_Locdesc **llbuf, Dwarf_Signed *listlen, Dwarf_Error *error) argument 236 dwarf_loclist_from_expr_a(Dwarf_Debug dbg, Dwarf_Ptr bytes_in, Dwarf_Unsigned bytes_len, Dwarf_Half addr_size, Dwarf_Locdesc **llbuf, Dwarf_Signed *listlen, Dwarf_Error *error) argument 269 dwarf_loclist_from_expr_b(Dwarf_Debug dbg, Dwarf_Ptr bytes_in, Dwarf_Unsigned bytes_len, Dwarf_Half addr_size, Dwarf_Half offset_size, Dwarf_Small version, Dwarf_Locdesc **llbuf, Dwarf_Signed *listlen, Dwarf_Error *error) argument [all...] |
H A D | libdwarf_loclist.c | 98 Dwarf_Locdesc **llbuf; local 128 if ((llbuf = calloc(ldlen, sizeof(Dwarf_Locdesc *))) == NULL) { 133 if ((llbuf[i] = calloc(1, sizeof(Dwarf_Locdesc))) == NULL) { 143 ret = _dwarf_loclist_add_locdesc(dbg, cu, ds, &off, llbuf, NULL, 148 *ret_llbuf = llbuf; 155 if (llbuf != NULL) { 157 if (llbuf[i]->ld_s) 158 free(llbuf[i]->ld_s); 159 free(llbuf[i]); 161 free(llbuf); [all...] |
H A D | libdwarf_loc.c | 619 _dwarf_loc_fill_locdesc(Dwarf_Debug dbg, Dwarf_Locdesc *llbuf, uint8_t *in, argument 625 assert(llbuf != NULL); 636 llbuf->ld_cents = num; 640 if ((llbuf->ld_s = calloc(num, sizeof(Dwarf_Loc))) == NULL) { 645 (void) _dwarf_loc_fill_loc(dbg, llbuf, pointer_size, offset_size, 656 Dwarf_Locdesc *llbuf; local 659 if ((llbuf = malloc(sizeof(Dwarf_Locdesc))) == NULL) { 663 llbuf->ld_lopc = 0; 664 llbuf->ld_hipc = ~0ULL; 665 llbuf [all...] |
/freebsd-11-stable/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 6653 Dwarf_Locdesc *llbuf; local 6659 re->cu_osize, re->cu_ver, &llbuf, &lcnt, &de) != DW_DLV_OK) { 6664 for (i = 0; (Dwarf_Half) i < llbuf->ld_cents; i++) { 6665 dump_dwarf_loc(re, &llbuf->ld_s[i]); 6666 if (i < llbuf->ld_cents - 1) 6670 dwarf_dealloc(re->dbg, llbuf->ld_s, DW_DLA_LOC_BLOCK); 6671 dwarf_dealloc(re->dbg, llbuf, DW_DLA_LOCDESC); 6678 Dwarf_Locdesc **llbuf; local 6776 if ((ret = dwarf_loclist_n(la->la_at, &llbuf, &lcnt, &de)) != 6792 if (llbuf[ [all...] |
Completed in 88 milliseconds