diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-05-22 13:20:37 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-05-22 13:20:37 +0000 |
commit | 49eb5700e2eb53eb0bb04b8178d1ef5ac68abef4 (patch) | |
tree | 401533831b3057ba1dbc86268991047b0d6ff539 /compiler-rt/lib/asan/asan_allocator2.cc | |
parent | 02c9c8c9f7f75bccc8c791fc659fd090e7e3a348 (diff) | |
download | bcm5719-llvm-49eb5700e2eb53eb0bb04b8178d1ef5ac68abef4.tar.gz bcm5719-llvm-49eb5700e2eb53eb0bb04b8178d1ef5ac68abef4.zip |
Revert r182465 and add lsan-common library to makefile-based build
llvm-svn: 182470
Diffstat (limited to 'compiler-rt/lib/asan/asan_allocator2.cc')
-rw-r--r-- | compiler-rt/lib/asan/asan_allocator2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_allocator2.cc b/compiler-rt/lib/asan/asan_allocator2.cc index 79fda78cd7a..4c57affbb39 100644 --- a/compiler-rt/lib/asan/asan_allocator2.cc +++ b/compiler-rt/lib/asan/asan_allocator2.cc @@ -768,7 +768,7 @@ u32 LsanMetadata::stack_trace_id() const { template <typename Callable> void ForEachChunk(Callable const &callback) { __asan::allocator.ForEachChunk(callback); } -#if 0 +#if CAN_SANITIZE_LEAKS template void ForEachChunk<ProcessPlatformSpecificAllocationsCb>( ProcessPlatformSpecificAllocationsCb const &callback); template void ForEachChunk<PrintLeakedCb>(PrintLeakedCb const &callback); |