LCOV - code coverage report
Current view: top level - subsys/cpp - cpp_dtors.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 2 0.0 %
Date: 2022-08-18 11:36:24 Functions: 0 1 0.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) 2016 Wind River Systems, Inc.
       3                 :            :  *
       4                 :            :  * SPDX-License-Identifier: Apache-2.0
       5                 :            :  */
       6                 :            : 
       7                 :            : /*
       8                 :            :  * @file
       9                 :            :  * @brief Basic C++ destructor module for globals
      10                 :            :  *
      11                 :            :  */
      12                 :            : 
      13                 :            : #include <toolchain.h>
      14                 :            : 
      15                 :            : __weak void *__dso_handle;
      16                 :            : 
      17                 :            : /**
      18                 :            :  * @brief Register destructor for a global object
      19                 :            :  *
      20                 :            :  * @param destructor the global object destructor function
      21                 :            :  * @param objptr global object pointer
      22                 :            :  * @param dso Dynamic Shared Object handle for shared libraries
      23                 :            :  *
      24                 :            :  * Function does nothing at the moment, assuming the global objects
      25                 :            :  * do not need to be deleted
      26                 :            :  *
      27                 :            :  * @retval 0 on success.
      28                 :            :  */
      29                 :          0 : int __cxa_atexit(void (*destructor)(void *), void *objptr, void *dso)
      30                 :            : {
      31                 :            :         ARG_UNUSED(destructor);
      32                 :            :         ARG_UNUSED(objptr);
      33                 :            :         ARG_UNUSED(dso);
      34                 :          0 :         return 0;
      35                 :            : }

Generated by: LCOV version 1.14