kernel: offsets: exclude from coverage
None of this is runtime code. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
814bc7ba8e
commit
aade2b5a20
1 changed files with 7 additions and 0 deletions
|
@ -10,6 +10,12 @@
|
|||
|
||||
#include <syscall_list.h>
|
||||
|
||||
/* All of this is build time magic, but LCOV gets confused. Disable coverage
|
||||
* for this whole file.
|
||||
*
|
||||
* LCOV_EXCL_START
|
||||
*/
|
||||
|
||||
/*
|
||||
* The final link step uses the symbol _OffsetAbsSyms to force the linkage of
|
||||
* offsets.o into the ELF image.
|
||||
|
@ -78,4 +84,5 @@ GEN_ABSOLUTE_SYM(K_THREAD_SIZEOF, sizeof(struct k_thread));
|
|||
/* size of the device structure. Used by linker scripts */
|
||||
GEN_ABSOLUTE_SYM(_DEVICE_STRUCT_SIZEOF, sizeof(struct device));
|
||||
|
||||
/* LCOV_EXCL_STOP */
|
||||
#endif /* ZEPHYR_KERNEL_INCLUDE_KERNEL_OFFSETS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue