Add address sanitizer (ASAN) support (fix #1002)

This commit is contained in:
Nicolas Williams committed 2015-10-27 20:06:21 -05:00
1 parent e17ccf2297
commit 8f115e9eed
2 files changed
+12 -1

No files matched your search

+5
View File
@@ -54,11 +54,16 @@ include_HEADERS = src/jv.h src/jq.h
### Running tests under Valgrind
if ENABLE_ASAN
AM_CFLAGS += -fsanitize=address
NO_VALGRIND = 1
else
if ENABLE_VALGRIND
NO_VALGRIND =
else
NO_VALGRIND = 1
endif
endif
### Code coverage with gcov