• Home
  • Raw
  • Download

Lines Matching refs:symbol

81 symbol_delete(symbol_t *symbol)  in symbol_delete()  argument
86 key.data = symbol->name; in symbol_delete()
87 key.size = strlen(symbol->name); in symbol_delete()
90 switch(symbol->type) { in symbol_delete()
94 if (symbol->info.rinfo != NULL) in symbol_delete()
95 free(symbol->info.rinfo); in symbol_delete()
98 if (symbol->info.ainfo != NULL) in symbol_delete()
99 free(symbol->info.ainfo); in symbol_delete()
105 if (symbol->info.finfo != NULL) { in symbol_delete()
106 symlist_free(&symbol->info.finfo->symrefs); in symbol_delete()
107 free(symbol->info.finfo); in symbol_delete()
112 if (symbol->info.cinfo != NULL) in symbol_delete()
113 free(symbol->info.cinfo); in symbol_delete()
116 if (symbol->info.linfo != NULL) in symbol_delete()
117 free(symbol->info.linfo); in symbol_delete()
123 free(symbol->name); in symbol_delete()
124 free(symbol); in symbol_delete()
214 if (strcmp(symname, curnode->symbol->name) == 0) in symlist_search()
222 symlist_add(symlist_t *symlist, symbol_t *symbol, int how) in symlist_add() argument
231 newnode->symbol = symbol; in symlist_add()
237 switch(symbol->type) { in symlist_add()
257 && (curnode->symbol->type > newnode->symbol->type in symlist_add()
258 || (curnode->symbol->type == newnode->symbol->type in symlist_add()
259 && (curnode->symbol->info.finfo->value > in symlist_add()
260 newnode->symbol->info.finfo->value)))) in symlist_add()
261 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add()
262 newnode->symbol->info.rinfo->address))) { in symlist_add()
275 cursymbol = SLIST_NEXT(curnode, links)->symbol; in symlist_add()
277 && (cursymbol->type > symbol->type in symlist_add()
278 || (cursymbol->type == symbol->type in symlist_add()
280 symbol->info.finfo->value)))) in symlist_add()
283 symbol->info.rinfo->address))) { in symlist_add()
378 regnode->symbol->name); in aic_print_reg_dump_start()
388 lower_name = strdup(regnode->symbol->name); in aic_print_reg_dump_end()
413 num_entries != 0 ? regnode->symbol->name : "NULL", in aic_print_reg_dump_end()
416 regnode->symbol->name, in aic_print_reg_dump_end()
417 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end()
434 regnode->symbol->name, in aic_print_reg_dump_end()
435 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end()
448 curnode->symbol->name); in aic_print_reg_dump_entry()
450 num_tabs = 3 - (strlen(curnode->symbol->name) + 5) / 8; in aic_print_reg_dump_entry()
455 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
456 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
538 if (curnode->symbol->dont_generate_debug_code) in symtable_dump()
541 switch(curnode->symbol->type) { in symtable_dump()
552 if (curnode->symbol->count == 1) in symtable_dump()
554 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump()
582 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
583 regname = regnode->symbol->name; in symtable_dump()
595 regname = curnode->symbol->info.ainfo->parent->name; in symtable_dump()
609 switch(curnode->symbol->type) { in symtable_dump()
614 value = curnode->symbol->info.rinfo->address; in symtable_dump()
622 parent = curnode->symbol->info.ainfo->parent; in symtable_dump()
632 value = curnode->symbol->info.finfo->value; in symtable_dump()
645 tab_str, curnode->symbol->name, tab_str2, in symtable_dump()
657 curnode->symbol->name, in symtable_dump()
658 curnode->symbol->info.cinfo->value); in symtable_dump()
670 curnode->symbol->name, in symtable_dump()
671 curnode->symbol->info.cinfo->value); in symtable_dump()
684 curnode->symbol->name, in symtable_dump()
685 curnode->symbol->info.linfo->address); in symtable_dump()