Skip to content

Commit

Permalink
valgrind: Disable on Risc-V
Browse files Browse the repository at this point in the history
There are no defined instruction sequences in include/valgrind.h for
Risc-V, so CONFIG_VALGRIND will do nothing on this arch (and possibly won't
compile?). Update Kconfig accordingly.

Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
  • Loading branch information
Forty-Bot authored and xypron committed May 28, 2022
1 parent 018b993 commit 1e5514f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ config TPL_SYS_MALLOC_F_LEN

config VALGRIND
bool "Inform valgrind about memory allocations"
depends on !RISCV
help
Valgrind is an instrumentation framework for building dynamic analysis
tools. In particular, it may be used to detect memory management bugs
Expand Down

0 comments on commit 1e5514f

Please sign in to comment.