aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.h
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2021-08-03 09:58:48 -0700
committerDavid Faust <david.faust@oracle.com>2021-09-07 13:48:57 -0700
commit81eced213c8d69c6a031712d81d245da423992dc (patch)
tree286f7983c859d2f46ad62d9916fe121d01751fd6 /gcc/dwarf2out.h
parent578cd82af71f978c7ffe5f50d9568df21beb25c4 (diff)
downloadgcc-81eced213c8d69c6a031712d81d245da423992dc.zip
gcc-81eced213c8d69c6a031712d81d245da423992dc.tar.gz
gcc-81eced213c8d69c6a031712d81d245da423992dc.tar.bz2
dwarf: externalize lookup_type_die
Expose the function lookup_type_die in dwarf2out, so that it can be used by CTF/BTF when adding BPF CO-RE information. The function is now non-static, and an extern prototype is added in dwarf2out.h. gcc/ChangeLog: * dwarf2out.c (lookup_type_die): Function is no longer static. * dwarf2out.h: Expose it here.
Diffstat (limited to 'gcc/dwarf2out.h')
-rw-r--r--gcc/dwarf2out.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h
index b2152a5..312a990 100644
--- a/gcc/dwarf2out.h
+++ b/gcc/dwarf2out.h
@@ -417,6 +417,7 @@ extern dw_die_ref new_die_raw (enum dwarf_tag);
extern dw_die_ref base_type_die (tree, bool);
extern dw_die_ref lookup_decl_die (tree);
+extern dw_die_ref lookup_type_die (tree);
extern dw_die_ref dw_get_die_child (dw_die_ref);
extern dw_die_ref dw_get_die_sib (dw_die_ref);