diff options
author | David Faust <david.faust@oracle.com> | 2021-08-03 10:00:42 -0700 |
---|---|---|
committer | David Faust <david.faust@oracle.com> | 2021-09-07 13:48:58 -0700 |
commit | 44e4ed6a3cb9039c1251bec2d68158b68fe3fad8 (patch) | |
tree | f9542448c658c4e6c532fcd649b408c418aa9542 /gcc/ctfc.c | |
parent | 81eced213c8d69c6a031712d81d245da423992dc (diff) | |
download | gcc-44e4ed6a3cb9039c1251bec2d68158b68fe3fad8.zip gcc-44e4ed6a3cb9039c1251bec2d68158b68fe3fad8.tar.gz gcc-44e4ed6a3cb9039c1251bec2d68158b68fe3fad8.tar.bz2 |
ctfc: externalize ctf_dtd_lookup
Expose the function ctf_dtd_lookup, so that it can be used by the BPF
CO-RE machinery. The function is no longer static, and an extern
prototype is added in ctfc.h.
gcc/ChangeLog:
* ctfc.c (ctf_dtd_lookup): Function is no longer static.
* ctfc.h: Analogous change.
Diffstat (limited to 'gcc/ctfc.c')
-rw-r--r-- | gcc/ctfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ ctf_dtd_insert (ctf_container_ref ctfc, ctf_dtdef_ref dtd) /* Lookup CTF type given a DWARF die for the type. */ -static ctf_dtdef_ref +ctf_dtdef_ref ctf_dtd_lookup (const ctf_container_ref ctfc, const dw_die_ref type) { ctf_dtdef_t entry; |