# SPDX-License-Identifier: GPL-2.0-only ifdef [31mCONFIG_KCOV[0m kcov-flags-$([31mCONFIG_CC_HAS_SANCOV_TRACE_PC[0m) += -fsanitize-coverage=trace-pc kcov-flags-$([31mCONFIG_KCOV_ENABLE_COMPARISONS[0m) += -fsanitize-coverage=trace-cmp kcov-flags-$([31mCONFIG_GCC_PLUGIN_SANCOV[0m) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so export CFLAGS_KCOV := $(kcov-flags-y) endif |