Skip to contentSkip to conversation

CONFIG_GCC_PLUGIN_SANCOV

DISCUSSION Andreas Ziegler 1 participant 2 messages Jun 17, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi Emese,

your patch "Add sancov plugin" (commit 543c37cb1650 in kbuild/for-next) adds the GCC_PLUGIN_SANCOV configuration option to arch/Kconfig, but does only declare it as 'bool', without a description string.

This way, it is currently not possible to select the sancov plugin from menuconfig, as it does not show up under 'General Setup' -> 'GCC plugins' (the cyclomatic complexity one is there, however).

Is this intended?

Best regards,

Andreas

#1 lore raw

Hi again,

after reading a bit more, it totally makes sense, the plugin obviously needs the implementation of __sanitizer_cov_trace_pc() coming from CONFIG_KCOV which selects GCC_PLUGIN_SANCOV in your patch … sorry for the confusion.

Best regards,

Andreas

Quoted 17 lines · Andreas Ziegler

Hi Emese,

your patch "Add sancov plugin" (commit 543c37cb1650 in kbuild/for-next) adds the GCC_PLUGIN_SANCOV configuration option to arch/Kconfig, but does only declare it as 'bool', without a description string.

This way, it is currently not possible to select the sancov plugin from menuconfig, as it does not show up under 'General Setup' -> 'GCC plugins' (the cyclomatic complexity one is there, however).

Is this intended?

Best regards,

Andreas