diff options
| author | slizyukalex <[email protected]> | 2026-02-13 00:28:29 +0300 |
|---|---|---|
| committer | slizyukalex <[email protected]> | 2026-02-13 01:01:02 +0300 |
| commit | d717fba3e4177ca4fa3bd346ab65b37a8bfa87ff (patch) | |
| tree | 29243535e2397e611de3f16e4c2c4d7a54da3ee6 | |
| parent | 48b2dda300f93d2cb4c1b7e9ed6577b555eea7f1 (diff) | |
build: Add macro to disable mc/dc instrumentation
Добавляю макрос, аналогичный `NO_CLANG_COVERAGE`, но только для mc/dc инструментирования.
Зачем это делать: в некоторых местах сборка с -fcoverage-mcdc падает, но остальное покрытие нормально работает.
commit_hash:723df38230ba80049fbd6336b56d562fff9f920a
| -rw-r--r-- | build/ymake.core.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index a1bb5468e25..4e761024123 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -4409,6 +4409,14 @@ macro NO_CLANG_COVERAGE() { } # tag:coverage +### @usage: NO_CLANG_MCDC_COVERAGE() +### +### Disable clang mc/dc instrumentation for the module. Clang mc/dc coverage instrumentation is enabled by the --clang-mcdc-coverage option. +macro NO_CLANG_MCDC_COVERAGE() { + DISABLE(CLANG_MCDC_COVERAGE) +} + +# tag:coverage ### @usage: NO_PROFILE_RUNTIME() ### ### Never link this target with profile runtime. Only should be used for very basic build tools |
