Lines Matching defs:fns

2311 debug_write (void *handle, const struct debug_write_fns *fns, void *fhandle)
2339 if (! (*fns->start_compilation_unit) (fhandle, u->files->filename))
2349 else if (! (*fns->start_source) (fhandle, f->filename))
2354 if (! debug_write_name (info, fns, fhandle, n))
2360 if (! debug_write_linenos (info, fns, fhandle, (bfd_vma) -1))
2371 const struct debug_write_fns *fns, void *fhandle,
2377 if (! debug_write_type (info, fns, fhandle, n->u.type, n)
2378 || ! (*fns->typdef) (fhandle, n->name))
2382 if (! debug_write_type (info, fns, fhandle, n->u.tag, n))
2384 return (*fns->tag) (fhandle, n->name);
2386 if (! debug_write_type (info, fns, fhandle, n->u.variable->type,
2389 return (*fns->variable) (fhandle, n->name, n->u.variable->kind,
2392 return debug_write_function (info, fns, fhandle, n->name,
2395 return (*fns->int_constant) (fhandle, n->name, n->u.int_constant);
2397 return (*fns->float_constant) (fhandle, n->name, n->u.float_constant);
2399 if (! debug_write_type (info, fns, fhandle, n->u.typed_constant->type,
2402 return (*fns->typed_constant) (fhandle, n->name,
2419 const struct debug_write_fns *fns, void *fhandle,
2436 return (*fns->typedef_type) (fhandle, type->u.knamed->name->name);
2444 return (*fns->empty_type) (fhandle);
2462 return (*fns->tag_type) (fhandle, type->u.knamed->name->name, id,
2489 return (*fns->empty_type) (fhandle);
2490 return debug_write_type (info, fns, fhandle, *type->u.kindirect->slot,
2493 return (*fns->void_type) (fhandle);
2495 return (*fns->int_type) (fhandle, type->size, type->u.kint);
2497 return (*fns->float_type) (fhandle, type->size);
2499 return (*fns->complex_type) (fhandle, type->size);
2501 return (*fns->bool_type) (fhandle, type->size);
2518 return (*fns->tag_type) (fhandle, tag, type->u.kclass->id,
2524 if (! (*fns->start_struct_type) (fhandle, tag,
2539 if (! debug_write_type (info, fns, fhandle, f->type,
2541 || ! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos,
2546 return (*fns->end_struct_type) (fhandle);
2549 return debug_write_class_type (info, fns, fhandle, type, tag);
2552 return (*fns->enum_type) (fhandle, tag, (const char **) NULL,
2554 return (*fns->enum_type) (fhandle, tag, type->u.kenum->names,
2557 if (! debug_write_type (info, fns, fhandle, type->u.kpointer,
2560 return (*fns->pointer_type) (fhandle);
2562 if (! debug_write_type (info, fns, fhandle,
2571 if (! debug_write_type (info, fns, fhandle,
2576 return (*fns->function_type) (fhandle, is,
2579 if (! debug_write_type (info, fns, fhandle, type->u.kreference,
2582 return (*fns->reference_type) (fhandle);
2584 if (! debug_write_type (info, fns, fhandle, type->u.krange->type,
2587 return (*fns->range_type) (fhandle, type->u.krange->lower,
2590 if (! debug_write_type (info, fns, fhandle, type->u.karray->element_type,
2592 || ! debug_write_type (info, fns, fhandle,
2596 return (*fns->array_type) (fhandle, type->u.karray->lower,
2600 if (! debug_write_type (info, fns, fhandle, type->u.kset->type,
2603 return (*fns->set_type) (fhandle, type->u.kset->bitstringp);
2605 if (! debug_write_type (info, fns, fhandle, type->u.koffset->base_type,
2607 || ! debug_write_type (info, fns, fhandle,
2611 return (*fns->offset_type) (fhandle);
2613 if (! debug_write_type (info, fns, fhandle,
2622 if (! debug_write_type (info, fns, fhandle,
2629 if (! debug_write_type (info, fns, fhandle,
2634 return (*fns->method_type) (fhandle,
2639 if (! debug_write_type (info, fns, fhandle, type->u.kconst,
2642 return (*fns->const_type) (fhandle);
2644 if (! debug_write_type (info, fns, fhandle, type->u.kvolatile,
2647 return (*fns->volatile_type) (fhandle);
2649 return debug_write_type (info, fns, fhandle, type->u.knamed->type,
2652 return debug_write_type (info, fns, fhandle, type->u.knamed->type,
2664 const struct debug_write_fns *fns, void *fhandle,
2690 return (*fns->tag_type) (fhandle, tag, type->u.kclass->id,
2699 if (! debug_write_type (info, fns, fhandle, vptrbase,
2705 if (! (*fns->start_class_type) (fhandle, tag, id,
2721 if (! debug_write_type (info, fns, fhandle, f->type,
2726 if (! (*fns->class_static_member) (fhandle, f->name,
2733 if (! (*fns->struct_field) (fhandle, f->name, f->u.f.bitpos,
2747 if (! debug_write_type (info, fns, fhandle, b->type,
2750 if (! (*fns->class_baseclass) (fhandle, b->bitpos, b->virtual,
2764 if (! (*fns->class_start_method) (fhandle, m->name))
2773 if (! debug_write_type (info, fns, fhandle, v->context,
2777 if (! debug_write_type (info, fns, fhandle, v->type,
2782 if (! (*fns->class_method_variant) (fhandle, v->physname,
2792 if (! (*fns->class_static_method_variant) (fhandle,
2800 if (! (*fns->class_end_method) (fhandle))
2806 return (*fns->end_class_type) (fhandle);
2813 const struct debug_write_fns *fns, void *fhandle,
2820 if (! debug_write_linenos (info, fns, fhandle, function->blocks->start))
2823 if (! debug_write_type (info, fns, fhandle, function->return_type,
2827 if (! (*fns->start_function) (fhandle, name,
2833 if (! debug_write_type (info, fns, fhandle, p->type,
2835 || ! (*fns->function_parameter) (fhandle, p->name, p->kind, p->val))
2841 if (! debug_write_block (info, fns, fhandle, b))
2845 return (*fns->end_function) (fhandle);
2852 const struct debug_write_fns *fns, void *fhandle,
2858 if (! debug_write_linenos (info, fns, fhandle, block->start))
2865 if (! (*fns->start_block) (fhandle, block->start))
2873 if (! debug_write_name (info, fns, fhandle, n))
2880 if (! debug_write_block (info, fns, fhandle, b))
2884 if (! debug_write_linenos (info, fns, fhandle, block->end))
2889 if (! (*fns->end_block) (fhandle, block->end))
2900 const struct debug_write_fns *fns, void *fhandle,
2918 if (! (*fns->lineno) (fhandle, l->file->filename,