cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit d92754cd304b7790c8e016293cb2e3002bd77e6d
parent e4980b65b9caa3b887263a27c6a743fa029fd429
Author: Max Bruckner <max@maxbruckner.de>
Date:   Fri,  8 Sep 2017 13:19:41 +0200

Add valgrind suppressions for ARMv7

Diffstat:
Mtests/CMakeLists.txt | 2+-
Avalgrind.supp | 6++++++
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt @@ -58,7 +58,7 @@ if(ENABLE_CJSON_TEST) message(WARNING "Valgrind couldn't be found.") unset(MEMORYCHECK_COMMAND) else() - set(MEMORYCHECK_COMMAND_OPTIONS --trace-children=yes --leak-check=full --error-exitcode=1) + set(MEMORYCHECK_COMMAND_OPTIONS --trace-children=yes --leak-check=full --error-exitcode=1 --suppressions=${CMAKE_CURRENT_SOURCE_DIR}/../valgrind.supp) endif() endif() diff --git a/valgrind.supp b/valgrind.supp @@ -0,0 +1,6 @@ +{ + suppress_ld_on_armv7 + Memcheck:Cond + ... + obj:*/ld-*.so +}