[asan] Fix malloc interception on Android L Preview.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 17 Jul 2014 12:48:45 +0000 (12:48 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 17 Jul 2014 12:48:45 +0000 (12:48 +0000)
commitf62cd5559ed8750ad4f2ec49318513eeffdf6f07
treeeda02c5a137ff2b4392788c38503061d503a8bc8
parent74ba3a5880e539e1a4641fcba7a2509fecb383e6
[asan] Fix malloc interception on Android L Preview.

Format of __libc_malloc_dispatch has changed in Android L.
While we are moving towards a solution that does not depend on bionic
internals, here is something to support both K* and L releases.

llvm-svn: 213263
compiler-rt/lib/asan/asan_malloc_linux.cc