forked from OSchip/llvm-project
[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
This commit is contained in:
parent
c7bad9a5a0
commit
8cd3d27879
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue