LCOV - code coverage report
Current view: top level - gcc - streamer-hooks.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 100.0 % 3 3
Test Date: 2024-04-20 14:03:02 Functions: 100.0 % 1 1
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : /* Streamer hooks.  Support for adding streamer-specific callbacks to
       2                 :             :    generic streaming routines.
       3                 :             : 
       4                 :             :    Copyright (C) 2011-2024 Free Software Foundation, Inc.
       5                 :             :    Contributed by Diego Novillo <dnovillo@google.com>
       6                 :             : 
       7                 :             : This file is part of GCC.
       8                 :             : 
       9                 :             : GCC is free software; you can redistribute it and/or modify it under
      10                 :             : the terms of the GNU General Public License as published by the Free
      11                 :             : Software Foundation; either version 3, or (at your option) any later
      12                 :             : version.
      13                 :             : 
      14                 :             : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
      15                 :             : WARRANTY; without even the implied warranty of MERCHANTABILITY or
      16                 :             : FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
      17                 :             : for more details.
      18                 :             : 
      19                 :             : You should have received a copy of the GNU General Public License
      20                 :             : along with GCC; see the file COPYING3.  If not see
      21                 :             : <http://www.gnu.org/licenses/>.  */
      22                 :             : 
      23                 :             : #include "config.h"
      24                 :             : #include "system.h"
      25                 :             : #include "coretypes.h"
      26                 :             : #include "streamer-hooks.h"
      27                 :             : 
      28                 :             : /* Streamer hooks.  */
      29                 :             : struct streamer_hooks streamer_hooks;
      30                 :             : 
      31                 :             : /* Initialize the current set of streamer hooks.  */
      32                 :             : 
      33                 :             : void
      34                 :       42808 : streamer_hooks_init (void)
      35                 :             : {
      36                 :       42808 :   memset (&streamer_hooks, 0, sizeof (streamer_hooks));
      37                 :       42808 : }
        

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.