summaryrefslogtreecommitdiffstats
path: root/spec/build/cpukit/optcoveragecflags.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/cpukit/optcoveragecflags.yml')
-rw-r--r--spec/build/cpukit/optcoveragecflags.yml20
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