[ASan] Temporary remove leak checking from ASan, while we don't have makefile-based build for LSan

llvm-svn: 182465
This commit is contained in:
Alexey Samsonov 2013-05-22 12:44:57 +00:00
parent 9ac7b48ddb
commit 155dd46e04
3 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ else()
$<TARGET_OBJECTS:RTInterception.${arch}>
$<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
$<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>
$<TARGET_OBJECTS:RTLSanCommon.${arch}>
#$<TARGET_OBJECTS:RTLSanCommon.${arch}>
CFLAGS ${ASAN_CFLAGS}
DEFS ${ASAN_COMMON_DEFINITIONS}
SYMS asan.syms)

View File

@ -768,7 +768,7 @@ u32 LsanMetadata::stack_trace_id() const {
template <typename Callable> void ForEachChunk(Callable const &callback) {
__asan::allocator.ForEachChunk(callback);
}
#if CAN_SANITIZE_LEAKS
#if 0
template void ForEachChunk<ProcessPlatformSpecificAllocationsCb>(
ProcessPlatformSpecificAllocationsCb const &callback);
template void ForEachChunk<PrintLeakedCb>(PrintLeakedCb const &callback);
@ -777,7 +777,7 @@ template void ForEachChunk<MarkIndirectlyLeakedCb>(
MarkIndirectlyLeakedCb const &callback);
template void ForEachChunk<ReportLeakedCb>(ReportLeakedCb const &callback);
template void ForEachChunk<ClearTagCb>(ClearTagCb const &callback);
#endif // SANITIZE_LEAKS
#endif // CAN_SANITIZE_LEAKS
} // namespace __lsan
// ---------------------- Interface ---------------- {{{1

View File

@ -560,7 +560,7 @@ void __asan_init() {
InitializeAllocator();
#if CAN_SANITIZE_LEAKS
#if 0
__lsan::InitCommonLsan();
if (flags()->detect_leaks) {
Atexit(__lsan::DoLeakCheck);