Add address sanitizer (ASAN) support (fix #1002)
This commit is contained in:
1 parent
e17ccf2297
commit
8f115e9eed
2 files changed
+12
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user