[PATCH v2 19/20] gcov: add MC/DC condition coverage support

Sasha Levin sashal at kernel.org
Thu Nov 5 17:05:12 PST 2026


On Thu, Nov 05, 2026 at 06:56:10PM +0100, Peter Oberparleiter wrote:
>> +	depends on LLVM_COV_KERNEL || (GCOV_KERNEL && CC_HAS_CONDITION_COVERAGE)
>> +	depends on !LLVM_COV_KERNEL || CLANG_VERSION >= 220000 || !WERROR
>
>Would it make sense to transform this for readability, i.e.
>
>depends on !(LLVM_COV_KERNEL && CLANG_VERSION < 220000 && WERROR)

Yes, that reads better. I'll switch to it in v3, thanks.

-- 
Thanks,
Sasha



More information about the linux-um mailing list