e223cfa9dd
This is a custom Gcov implementation. Taking excerpts from gcc gcc libgcc/libgcov.h and gcc/gcov-io.h. Ported to zephyr by Ramakrishna Pallala <ramakrishna.pallala@intel.com> and Adithya Baglody <adithya.nagaraj.baglody@intel.com> Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
20 lines
395 B
C
20 lines
395 B
C
/*
|
|
* Copyright (c) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_MISC_GCOV_H_
|
|
#define ZEPHYR_INCLUDE_MISC_GCOV_H_
|
|
|
|
#ifdef CONFIG_COVERAGE_GCOV
|
|
void gcov_coverage_dump(void);
|
|
void gcov_static_init(void);
|
|
#else
|
|
void gcov_coverage_dump(void) { }
|
|
void gcov_static_init(void) { }
|
|
|
|
#endif /* CONFIG_COVERAGE */
|
|
|
|
#endif /* ZEPHYR_INCLUDE_MISC_GCOV_H_ */
|