]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
radix tree test suite: Enable address sanitizer
authorMatthew Wilcox <mawilcox@microsoft.com>
Sat, 28 Jan 2017 15:03:48 +0000 (10:03 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 14 Feb 2017 02:44:06 +0000 (21:44 -0500)
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>
tools/testing/radix-tree/Makefile

index 4aba7b75e43a7e34aba2899c716c7400fe4a8504..ecea846e766016105e6a9e9cc4d02e18358e1d57 100644 (file)
@@ -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