LCOV - code coverage report
Current view: top level - scratchpad/gcc-build-gcov/gcc - gt-cp-rtti.h (source / functions) Hit Total Coverage
Test: gcc.info Lines: 32 32 100.0 %
Date: 2023-07-19 08:18:47 Functions: 6 6 100.0 %

          Line data    Source code
       1             : /* Type information for cp/rtti.cc.
       2             :    Copyright (C) 2004-2023 Free Software Foundation, Inc.
       3             : 
       4             : This file is part of GCC.
       5             : 
       6             : GCC is free software; you can redistribute it and/or modify it under
       7             : the terms of the GNU General Public License as published by the Free
       8             : Software Foundation; either version 3, or (at your option) any later
       9             : version.
      10             : 
      11             : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
      12             : WARRANTY; without even the implied warranty of MERCHANTABILITY or
      13             : FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
      14             : for more details.
      15             : 
      16             : You should have received a copy of the GNU General Public License
      17             : along with GCC; see the file COPYING3.  If not see
      18             : <http://www.gnu.org/licenses/>.  */
      19             : 
      20             : /* This file is machine generated.  Do not edit.  */
      21             : 
      22             : void
      23       95241 : gt_ggc_mx_vec_tinfo_s_va_gc_ (void *x_p)
      24             : {
      25       95241 :   vec<tinfo_s,va_gc> * const x = (vec<tinfo_s,va_gc> *)x_p;
      26       95241 :   if (ggc_test_and_set_mark (x))
      27             :     {
      28       95241 :       gt_ggc_mx (x);
      29             :     }
      30       95241 : }
      31             : 
      32             : void
      33      720494 : gt_ggc_mx (struct tinfo_s& x_r ATTRIBUTE_UNUSED)
      34             : {
      35      720494 :   struct tinfo_s * ATTRIBUTE_UNUSED x = &x_r;
      36      720494 :   gt_ggc_m_9tree_node ((*x).type);
      37      720494 :   gt_ggc_m_9tree_node ((*x).vtable);
      38      720494 :   gt_ggc_m_9tree_node ((*x).name);
      39      720494 : }
      40             : 
      41             : void
      42          68 : gt_pch_nx_vec_tinfo_s_va_gc_ (void *x_p)
      43             : {
      44          68 :   vec<tinfo_s,va_gc> * const x = (vec<tinfo_s,va_gc> *)x_p;
      45          68 :   if (gt_pch_note_object (x, x, gt_pch_p_18vec_tinfo_s_va_gc_))
      46             :     {
      47          68 :       gt_pch_nx (x);
      48             :     }
      49          68 : }
      50             : 
      51             : void
      52         168 : gt_pch_nx (struct tinfo_s& x_r ATTRIBUTE_UNUSED)
      53             : {
      54         168 :   struct tinfo_s * ATTRIBUTE_UNUSED x = &x_r;
      55         168 :   gt_pch_n_9tree_node ((*x).type);
      56         168 :   gt_pch_n_9tree_node ((*x).vtable);
      57         168 :   gt_pch_n_9tree_node ((*x).name);
      58         168 : }
      59             : 
      60             : void
      61          68 : gt_pch_p_18vec_tinfo_s_va_gc_ (ATTRIBUTE_UNUSED void *this_obj,
      62             :         void *x_p,
      63             :         ATTRIBUTE_UNUSED gt_pointer_operator op,
      64             :         ATTRIBUTE_UNUSED void *cookie)
      65             : {
      66          68 :   struct vec<tinfo_s,va_gc> * x ATTRIBUTE_UNUSED = (struct vec<tinfo_s,va_gc> *)x_p;
      67          68 :   if ((void *)(x) == this_obj)
      68          68 :     gt_pch_nx (&((*x)), op, cookie);
      69          68 : }
      70             : 
      71             : void
      72         168 : gt_pch_nx (struct tinfo_s* x ATTRIBUTE_UNUSED,
      73             :         ATTRIBUTE_UNUSED gt_pointer_operator op,
      74             :         ATTRIBUTE_UNUSED void *cookie)
      75             : {
      76         168 :     op (&((*x).type), NULL, cookie);
      77         168 :     op (&((*x).vtable), NULL, cookie);
      78         168 :     op (&((*x).name), NULL, cookie);
      79         168 : }
      80             : 
      81             : /* GC roots.  */
      82             : 
      83             : EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_cp_rtti_h[] = {
      84             :   {
      85             :     &tinfo_descs,
      86             :     1,
      87             :     sizeof (tinfo_descs),
      88             :     &gt_ggc_mx_vec_tinfo_s_va_gc_,
      89             :     &gt_pch_nx_vec_tinfo_s_va_gc_
      90             :   },
      91             :   LAST_GGC_ROOT_TAB
      92             : };
      93             : 

Generated by: LCOV version 1.16