summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2017-01-28 10:03:48 -0500
committerMatthew Wilcox <mawilcox@microsoft.com>2017-02-13 21:44:06 -0500
commit829f83d3653ef7105187b0110887dbfd46a30ce4 (patch)
tree335e8577a3a1b3f3b820f1aa6d68c3ce649da597 /tools/testing
parentf7137f79c57f228321dde2ab4586015504feaaac (diff)
radix tree test suite: Enable address sanitizer
I was looking for a memory scribble and instead found a pile of memory leaks. Ensure no more occur in future. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Reviewed-by: Rehas Sachdeva <aquannie@gmail.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/radix-tree/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile
index 4aba7b75e43a..ecea846e7660 100644
--- a/tools/testing/radix-tree/Makefile
+++ b/tools/testing/radix-tree/Makefile
@@ -1,5 +1,5 @@
-CFLAGS += -I. -I../../include -g -O2 -Wall -D_LGPL_SOURCE
+CFLAGS += -I. -I../../include -g -O2 -Wall -D_LGPL_SOURCE -fsanitize=address
LDFLAGS += -lpthread -lurcu
TARGETS = main idr-test multiorder
CORE_OFILES := radix-tree.o idr.o linux.o test.o find_bit.o