Implement standalone lsan interceptors for OS X
authorFrancis Ricci <francisjricci@gmail.com>
Tue, 11 Apr 2017 20:05:02 +0000 (20:05 +0000)
committerFrancis Ricci <francisjricci@gmail.com>
Tue, 11 Apr 2017 20:05:02 +0000 (20:05 +0000)
commit03b2a8e47e3c780920e89b0b0e05e960a2007e4f
treeec63e0b18db8fc923f203026d2abea4be4c194d6
parent84f17f32ad3561a0be9717733e320ecb8592b92f
Implement standalone lsan interceptors for OS X

Summary:
Mimicks the existing tsan and asan implementations of
Darwin interception.

Reviewers: kubamracek, kcc, glider

Subscribers: llvm-commits, mgorny

Differential Revision: https://reviews.llvm.org/D31889

llvm-svn: 299979
compiler-rt/lib/lsan/CMakeLists.txt
compiler-rt/lib/lsan/lsan.cc
compiler-rt/lib/lsan/lsan.h
compiler-rt/lib/lsan/lsan_allocator.cc
compiler-rt/lib/lsan/lsan_allocator.h
compiler-rt/lib/lsan/lsan_interceptors.cc
compiler-rt/lib/lsan/lsan_linux.cc
compiler-rt/lib/lsan/lsan_malloc_mac.cc [new file with mode: 0644]