]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ctfc.h
ctfc: add function to lookup CTF ID of a TREE type
authorDavid Faust <david.faust@oracle.com>
Tue, 3 Aug 2021 17:01:31 +0000 (10:01 -0700)
committerDavid Faust <david.faust@oracle.com>
Tue, 7 Sep 2021 20:48:58 +0000 (13:48 -0700)
commit5b723401b37332df0e2a665c4124d52c9ca7a515
tree0389c0c46174a193c06200c7645841194271baf5
parent44e4ed6a3cb9039c1251bec2d68158b68fe3fad8
ctfc: add function to lookup CTF ID of a TREE type

Add a new function, ctf_lookup_tree_type, to return the CTF type ID
associated with a type via its is TREE node. The function is exposed via
a prototype in ctfc.h.

gcc/ChangeLog:

* ctfc.c (ctf_lookup_tree_type): New function.
* ctfc.h: Likewise.
gcc/ctfc.c
gcc/ctfc.h