From ab0bf875a5f328a6710f4e48258979ae1bc8da1c Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 16 Apr 2017 16:02:53 +0000 Subject: Vendor import of compiler-rt trunk r300422: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300422 --- lib/lsan/lsan.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/lsan/lsan.cc') diff --git a/lib/lsan/lsan.cc b/lib/lsan/lsan.cc index c7c34299147db..6c4767d612522 100644 --- a/lib/lsan/lsan.cc +++ b/lib/lsan/lsan.cc @@ -76,6 +76,7 @@ extern "C" void __lsan_init() { InitializeFlags(); InitCommonLsan(); InitializeAllocator(); + ReplaceSystemMalloc(); InitTlsSize(); InitializeInterceptors(); InitializeThreadRegistry(); -- cgit v1.2.3