LCOV - code coverage report
Current view: top level - subsys/cpp - cpp_init.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 4 4 100.0 %
Date: 2022-08-18 11:36:24 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * Copyright (c) 2021 Synopsys, Inc.
       3                 :            :  *
       4                 :            :  * SPDX-License-Identifier: Apache-2.0
       5                 :            :  *
       6                 :            :  * Author: Evgeniy Paltsev
       7                 :            :  */
       8                 :            : 
       9                 :            : #ifdef CONFIG_CPP_STATIC_INIT_GNU
      10                 :            : 
      11                 :            : void __do_global_ctors_aux(void);
      12                 :            : void __do_init_array_aux(void);
      13                 :            : 
      14                 :          1 : void z_cpp_init_static(void)
      15                 :            : {
      16                 :          1 :         __do_global_ctors_aux();
      17                 :          1 :         __do_init_array_aux();
      18                 :          1 : }
      19                 :            : 
      20                 :            : #else
      21                 :            : 
      22                 :            : #ifdef __CCAC__
      23                 :            : void __do_global_ctors_aux(void);
      24                 :            : 
      25                 :            : void z_cpp_init_static(void)
      26                 :            : {
      27                 :            :         __do_global_ctors_aux();
      28                 :            : }
      29                 :            : #endif /* __CCAC__ */
      30                 :            : 
      31                 :            : #endif /* CONFIG_CPP_STATIC_INIT_GNU */

Generated by: LCOV version 1.14