aboutsummaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 1b93632198fa..04ca45262ad1 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -372,6 +372,18 @@ menuconfig GCC_PLUGINS
372 372
373 See Documentation/gcc-plugins.txt for details. 373 See Documentation/gcc-plugins.txt for details.
374 374
375config GCC_PLUGIN_CYC_COMPLEXITY
376 bool "Compute the cyclomatic complexity of a function"
377 depends on GCC_PLUGINS
378 help
379 The complexity M of a function's control flow graph is defined as:
380 M = E - N + 2P
381 where
382
383 E = the number of edges
384 N = the number of nodes
385 P = the number of connected components (exit nodes).
386
375config HAVE_CC_STACKPROTECTOR 387config HAVE_CC_STACKPROTECTOR
376 bool 388 bool
377 help 389 help