subsys/testsuite/coverage: add empty function __gcov_exit()

This is to fix build errors complaining about undefined reference
to __gcov_exit(). There is no special processing required here
so leave the function empty.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-04-01 15:57:36 -07:00 committed by Anas Nashif
commit 5136d819a4

View file

@ -42,6 +42,11 @@ void __gcov_merge_add(gcov_type *counters, unsigned int n_counters)
/* Unused. */
}
void __gcov_exit(void)
{
/* Unused. */
}
/**
* buff_write_u64 - Store 64 bit data on a buffer and return the size
*/