From: Matthew Wilcox Date: Sat, 28 Jan 2017 15:03:48 +0000 (-0500) Subject: radix tree test suite: Enable address sanitizer X-Git-Tag: v4.11-rc1~44^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=829f83d3653ef7105187b0110887dbfd46a30ce4;p=karo-tx-linux.git 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 Reviewed-by: Rehas Sachdeva --- 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