summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-04-23 08:15:16 +0000
committerKostya Serebryany <kcc@google.com>2014-04-23 08:15:16 +0000
commit8cd3d27879c58a1140fdc30de460214d541d00a8 (patch)
tree17a22f3485a795b481f92949d90de74a1c740e8c
parentc7bad9a5a0385ac7884c2269531f820f3b003c18 (diff)
downloadbcm5719-llvm-8cd3d27879c58a1140fdc30de460214d541d00a8.tar.gz
bcm5719-llvm-8cd3d27879c58a1140fdc30de460214d541d00a8.zip
[asan] disable lsan back. :( -- It appears that quite a few lit tests have leaks and they were not covered by out buildbot
llvm-svn: 206955
-rw-r--r--compiler-rt/lib/asan/asan_rtl.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/leak.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_rtl.cc b/compiler-rt/lib/asan/asan_rtl.cc
index b9e375b889c..2bac66907c9 100644
--- a/compiler-rt/lib/asan/asan_rtl.cc
+++ b/compiler-rt/lib/asan/asan_rtl.cc
@@ -230,7 +230,7 @@ static void ParseFlagsFromString(Flags *f, const char *str) {
void InitializeFlags(Flags *f, const char *env) {
CommonFlags *cf = common_flags();
SetCommonFlagsDefaults(cf);
- cf->detect_leaks = CAN_SANITIZE_LEAKS;
+ cf->detect_leaks = false; // CAN_SANITIZE_LEAKS;
cf->external_symbolizer_path = GetEnv("ASAN_SYMBOLIZER_PATH");
cf->malloc_context_size = kDefaultMallocContextSize;
cf->intercept_tls_get_addr = true;
diff --git a/compiler-rt/test/asan/TestCases/Linux/leak.cc b/compiler-rt/test/asan/TestCases/Linux/leak.cc
index 42ee84b9c38..85d55c3cbdb 100644
--- a/compiler-rt/test/asan/TestCases/Linux/leak.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/leak.cc
@@ -3,7 +3,7 @@
//
// RUN: %clangxx_asan %s -o %t
// RUN: ASAN_OPTIONS=detect_leaks=1 not %t 2>&1 | FileCheck %s
-// RUN: not %t 2>&1 | FileCheck %s
+// RUN: ASAN_OPTIONS="" %t
// RUN: ASAN_OPTIONS=detect_leaks=0 %t
#include <stdio.h>
int *t;
OpenPOWER on IntegriCloud