mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
build: Add STACK_USAGE(-fstack-usage) to assist the stack analysis
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
ab059a7ba3
commit
fd64e38072
@@ -1945,6 +1945,13 @@ config STACK_CANARIES
|
||||
Enabling this option can result in a significant increase
|
||||
in footprint and an associated decrease in performance.
|
||||
|
||||
config STACK_USAGE
|
||||
bool "Generate stack usage information"
|
||||
help
|
||||
Generate an extra file that specifies the maximum amount of stack used,
|
||||
on a per-function basis. Please use https://github.com/HBehrens/puncover
|
||||
or tools/showstack.sh to generate the more useful report.
|
||||
|
||||
config ARCH_HAVE_HEAPCHECK
|
||||
bool
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user