1
0
mirror of https://github.com/DaveGamble/cJSON synced 2024-12-22 06:40:04 +00:00

Add valgrind suppressions for ARMv7

This commit is contained in:
Max Bruckner 2017-09-08 13:19:41 +02:00
parent e4980b65b9
commit d92754cd30
2 changed files with 7 additions and 1 deletions

View File

@ -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()

6
valgrind.supp Normal file
View File

@ -0,0 +1,6 @@
{
suppress_ld_on_armv7
Memcheck:Cond
...
obj:*/ld-*.so
}