From 14442bb22955f704091f23e670ed9f8bdcda1ce9 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 4 Jun 2014 15:18:36 -0700 Subject: [PATCH] Temporary fix for asan_malloc_linux.cc build failure. Bug: 15432753 Change-Id: I02a3a2c826e6d01e6809c51588a9670dcd179123 --- libc/bionic/malloc_debug_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libc/bionic/malloc_debug_common.cpp b/libc/bionic/malloc_debug_common.cpp index 19524bb28..77ec080fe 100644 --- a/libc/bionic/malloc_debug_common.cpp +++ b/libc/bionic/malloc_debug_common.cpp @@ -60,7 +60,8 @@ static const MallocDebug __libc_malloc_default_dispatch __attribute__((aligned(3 }; // Selector of dispatch table to use for dispatching malloc calls. -static const MallocDebug* __libc_malloc_dispatch = &__libc_malloc_default_dispatch; +// TODO: fix http://b/15432753 and make this static again. +const MallocDebug* __libc_malloc_dispatch = &__libc_malloc_default_dispatch; // Handle to shared library where actual memory allocation is implemented. // This library is loaded and memory allocation calls are redirected there