[DWARVES_EMIT]: Export cus__find_definition
Needed in the next ctracer cset. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
76aa7c0234
commit
6d2dbb484a
|
@ -30,8 +30,7 @@ static void cus__add_fwd_decl(struct cus *self, struct type *type)
|
||||||
list_add_tail(&type->node, self->fwd_decls);
|
list_add_tail(&type->node, self->fwd_decls);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct type *cus__find_definition(const struct cus *self,
|
struct type *cus__find_definition(const struct cus *self, const char *name)
|
||||||
const char *name)
|
|
||||||
{
|
{
|
||||||
struct type *pos;
|
struct type *pos;
|
||||||
|
|
||||||
|
|
|
@ -26,5 +26,7 @@ extern int cus__emit_fwd_decl(struct cus *self, struct type *ctype,
|
||||||
const struct cu *cu, FILE *fp);
|
const struct cu *cu, FILE *fp);
|
||||||
extern void type__emit(struct tag *tag_self, struct cu *cu,
|
extern void type__emit(struct tag *tag_self, struct cu *cu,
|
||||||
const char *prefix, const char *suffix, FILE *fp);
|
const char *prefix, const char *suffix, FILE *fp);
|
||||||
|
extern struct type *cus__find_definition(const struct cus *self,
|
||||||
|
const char *name);
|
||||||
|
|
||||||
#endif /* _DWARVES_EMIT_H_ */
|
#endif /* _DWARVES_EMIT_H_ */
|
||||||
|
|
Loading…
Reference in New Issue