diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-27 17:29:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-04 08:29:52 +0200 |
commit | 5c13a96f367564678b2759d8a89744340bb6099d (patch) | |
tree | 7ce5e0858e548949cbab5b71512d00f123075ddb /spec/build/cpukit/optcoveragecflags.yml | |
parent | gcov: Add wrapper to dump the gcov info (diff) | |
download | rtems-5c13a96f367564678b2759d8a89744340bb6099d.tar.bz2 |
build: Add RTEMS_GCOV_COVERAGE option
Update #4670.
Diffstat (limited to 'spec/build/cpukit/optcoveragecflags.yml')
-rw-r--r-- | spec/build/cpukit/optcoveragecflags.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/build/cpukit/optcoveragecflags.yml b/spec/build/cpukit/optcoveragecflags.yml new file mode 100644 index 0000000000..08cc79eb6c --- /dev/null +++ b/spec/build/cpukit/optcoveragecflags.yml @@ -0,0 +1,20 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- split: null +- env-assign: null +build-type: option +copyrights: +- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) +default: +- --coverage +- -fprofile-info-section=.rtemsroset.gcov_info.content +- -fprofile-update=atomic +default-by-variant: [] +description: | + Compiler flags recommended for components which should generate coverage + information. +enabled-by: RTEMS_GCOV_COVERAGE +links: [] +name: COVERAGE_COMPILER_FLAGS +type: build |