Home | History | Annotate | Download | only in binutils

Lines Matching refs:fns

2310 debug_write (void *handle, const struct debug_write_fns *fns, void *fhandle)
2338 if (! (*fns->start_compilation_unit) (fhandle, u->files->filename))
2348 else if (! (*fns->start_source) (fhandle, f->filename))
2353 if (! debug_write_name (info, fns, fhandle, n))
2359 if (! debug_write_linenos (info, fns, fhandle, (bfd_vma) -1))
2370 const struct debug_write_fns *fns, void *fhandle,
2376 if (! debug_write_type (info, fns, fhandle, n->u.type, n)
2377 || ! (*fns->typdef) (fhandle, n->name))
2381 if (! debug_write_type (info, fns, fhandle, n->u.tag, n))
2383 return (*fns->tag) (fhandle, n->name);
2385 if (! debug_write_type (info, fns, fhandle, n->u.variable->type,
2388 return (*fns->variable) (fhandle, n->name, n->u.variable->kind,
2391 return debug_write_function (info, fns, fhandle, n->name,
2394 return (*fns->int_constant) (fhandle, n->name, n->u.int_constant);
2396 return (*fns->float_constant) (fhandle, n->name, n->u.float_constant);
2398 if (! debug_write_type (info, fns, fhandle, n->u.typed_constant->type,
2401 return (*fns->typed_constant) (fhandle, n->name,
2418 const struct debug_write_fns *fns, void *fhandle,
2435 return (*fns->typedef_type) (fhandle, type->u.knamed->name->name);
2443 return (*fns->empty_type) (fhandle);
2461 return (*fns->tag_type) (fhandle, type->u.knamed->name->name, id,
2488 return (*fns->empty_type) (fhandle);
2489 return debug_write_type (info, fns, fhandle, *type->u.kindirect->slot,
2492 return (*fns->void_type) (fhandle);
2494 return (*fns->int_type) (fhandle, type->size, type->u.kint);
2496 return (*fns->float_type) (fhandle, type->size);
2498 return (*fns->complex_type) (fhandle, type->size);
2500 return (*fns->bool_type) (fhandle, type->size);
2517 return (*fns->tag_type) (fhandle, tag, type->u.kclass->id,
2523 if (! (*fns->start_struct_type) (fhandle, tag,
2538 if (! debug_write_type (info, fns, fhandle, f->type,
2540 || ! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos,
2545 return (*fns->end_struct_type) (fhandle);
2548 return debug_write_class_type (info, fns, fhandle, type, tag);
2551 return (*fns->enum_type) (fhandle, tag, (const char **) NULL,
2553 return (*fns->enum_type) (fhandle, tag, type->u.kenum->names,
2556 fns, fhandle, type->u.kpointer,
2559 return (*fns->pointer_type) (fhandle);
2561 if (! debug_write_type (info, fns, fhandle,
2570 if (! debug_write_type (info, fns, fhandle,
2575 return (*fns->function_type) (fhandle, is,
2578 if (! debug_write_type (info, fns, fhandle, type->u.kreference,
2581 return (*fns->reference_type) (fhandle);
2583 if (! debug_write_type (info, fns, fhandle, type->u.krange->type,
2586 return (*fns->range_type) (fhandle, type->u.krange->lower,
2589 if (! debug_write_type (info, fns, fhandle, type->u.karray->element_type,
2591 || ! debug_write_type (info, fns, fhandle,
2595 return (*fns->array_type) (fhandle, type->u.karray->lower,
2599 if (! debug_write_type (info, fns, fhandle, type->u.kset->type,
2602 return (*fns->set_type) (fhandle, type->u.kset->bitstringp);
2604 if (! debug_write_type (info, fns, fhandle, type->u.koffset->base_type,
2606 || ! debug_write_type (info, fns, fhandle,
2610 return (*fns->offset_type) (fhandle);
2612 if (! debug_write_type (info, fns, fhandle,
2621 if (! debug_write_type (info, fns, fhandle,
2628 if (! debug_write_type (info, fns, fhandle,
2633 return (*fns->method_type) (fhandle,
2638 if (! debug_write_type (info, fns, fhandle, type->u.kconst,
2641 return (*fns->const_type) (fhandle);
2643 if (! debug_write_type (info, fns, fhandle, type->u.kvolatile,
2646 return (*fns->volatile_type) (fhandle);
2648 return debug_write_type (info, fns, fhandle, type->u.knamed->type,
2651 return debug_write_type (info, fns, fhandle, type->u.knamed->type,
2663 const struct debug_write_fns *fns, void *fhandle,
2689 return (*fns->tag_type) (fhandle, tag, type->u.kclass->id,
2698 if (! debug_write_type (info, fns, fhandle, vptrbase,
2704 if (! (*fns->start_class_type) (fhandle, tag, id,
2720 if (! debug_write_type (info, fns, fhandle, f->type,
2725 if (! (*fns->class_static_member) (fhandle, f->name,
2732 if (! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos,
2746 if (! debug_write_type (info, fns, fhandle, b->type,
2749 if (! (*fns->class_baseclass) (fhandle, b->bitpos, b->is_virtual,
2763 if (! (*fns->class_start_method) (fhandle, m->name))
2772 if (! debug_write_type (info, fns, fhandle, v->context,
2776 if (! debug_write_type (info, fns, fhandle, v->type,
2781 if (! (*fns->class_method_variant) (fhandle, v->physname,
2791 if (! (*fns->class_static_method_variant) (fhandle,
2799 if (! (*fns->class_end_method) (fhandle))
2805 return (*fns->end_class_type) (fhandle);
2812 const struct debug_write_fns *fns, void *fhandle,
2819 if (! debug_write_linenos (info, fns, fhandle, function->blocks->start))
2822 if (! debug_write_type (info, fns, fhandle, function->return_type,
2826 if (! (*fns->start_function) (fhandle, name,
2832 if (! debug_write_type (info, fns, fhandle, p->type,
2834 || ! (*fns->function_parameter) (fhandle, p->name, p->kind, p->val))
2840 if (! debug_write_block (info, fns, fhandle, b))
2844 return (*fns->end_function) (fhandle);
2851 const struct debug_write_fns *fns, void *fhandle,
2857 if (! debug_write_linenos (info, fns, fhandle, block->start))
2864 if (! (*fns->start_block) (fhandle, block->start))
2872 if (! debug_write_name (info, fns, fhandle, n))
2879 if (! debug_write_block (info, fns, fhandle, b))
2883 if (! debug_write_linenos (info, fns, fhandle, block->end))
2888 if (! (*fns->end_block) (fhandle, block->end))
2899 const struct debug_write_fns *fns, void *fhandle,
2917 if (! (*fns->lineno) (fhandle, l->file->filename,