summaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree
diff options
context:
space:
mode:
authorMatthew Wilcox2017-01-28 16:03:48 +0100
committerMatthew Wilcox2017-02-14 03:44:06 +0100
commit829f83d3653ef7105187b0110887dbfd46a30ce4 (patch)
tree335e8577a3a1b3f3b820f1aa6d68c3ce649da597 /tools/testing/radix-tree
parentradix_tree_iter_resume: Fix out of bounds error (diff)
downloadkernel-qcow2-linux-829f83d3653ef7105187b0110887dbfd46a30ce4.tar.gz
kernel-qcow2-linux-829f83d3653ef7105187b0110887dbfd46a30ce4.tar.xz
kernel-qcow2-linux-829f83d3653ef7105187b0110887dbfd46a30ce4.zip
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/radix-tree')
-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