]> gcc.gnu.org Git - gcc.git/commit
c++: RTTI accessors for modules
authorNathan Sidwell <nathan@acm.org>
Wed, 2 Dec 2020 16:27:53 +0000 (08:27 -0800)
committerNathan Sidwell <nathan@acm.org>
Wed, 2 Dec 2020 16:31:37 +0000 (08:31 -0800)
commitaf4180513836806e2b351d516af55f6664c8821a
tree2de09dabbac976aaf8d8a1a1c3e3ecb6de8f0b36
parent5bd5d85117ce968e68d41a746f917a63ed8e6ae6
c++: RTTI accessors for modules

The module machinery needs to serialize tinfo types and vars by
meaning, not literally.  This adds the necessary pieces to rtti.

gcc/cp/
* cp-tree.h (DECL_TINFO_P): Also for TYPE_DECLs.
(get_tinfo_decl_direct): Declare.
(get_pseudo_tinfo_index, get_pseudo_tinfo_type): Declare.
* rtti.c (get_tinfo_decl_direct): Externalize.
(get_tinfo_desc): Set DECL_TINFO_P on the typedef.
(get_pseudo_tinfo_index, get_pseudo_tinfo_type): New.
gcc/cp/cp-tree.h
gcc/cp/rtti.c
This page took 0.062641 seconds and 6 git commands to generate.