[LIB]: Call cus__emit_ftype_definitions for DW_TAG_subroutine_type in cus__emit_tag_definitions
Thus emitting definitions/forward declarations for the types of function pointers, not just for the return type of the function pointer. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
parent
0905197862
commit
0661f26f9f
|
@ -2625,7 +2625,7 @@ next_indirection:
|
|||
return cus__emit_fwd_decl(self, tag__type(type));
|
||||
return cus__emit_struct_definitions(self, cu, type, NULL, NULL);
|
||||
case DW_TAG_subroutine_type:
|
||||
return cus__emit_tag_definitions(self, cu, type);
|
||||
return cus__emit_ftype_definitions(self, cu, tag__ftype(type));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue