diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-01-28 10:03:48 -0500 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2017-02-07 13:25:38 -0500 |
commit | e9dc56b79c1342825bbf3757014541ad2aa68a0e (patch) | |
tree | 531f5c8e5fad5395e4e2a5dc0137077a572ce792 /tools | |
parent | e2900a2c4a063aa882082f92de8ea98475687221 (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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/radix-tree/Makefile | 2 |
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 |