[compiler-rt] b9d3234 - [sanitizer] [arm] Disable some LSAN tests for arm-linux-gnueabihf
Adhemerval Zanella via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 15 04:35:34 PST 2021
Author: Adhemerval Zanella
Date: 2021-02-15T09:35:02-03:00
New Revision: b9d3234c70588e6591f3607da39cc03bded160fd
URL: https://github.com/llvm/llvm-project/commit/b9d3234c70588e6591f3607da39cc03bded160fd
DIFF: https://github.com/llvm/llvm-project/commit/b9d3234c70588e6591f3607da39cc03bded160fd.diff
LOG: [sanitizer] [arm] Disable some LSAN tests for arm-linux-gnueabihf
Reinstate D90628 since the fix done by D96337 does not change the outcome
of the https://bugs.llvm.org/show_bug.cgi?id=48052
Added:
Modified:
compiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
compiler-rt/test/lsan/TestCases/disabler.c
compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
compiler-rt/test/lsan/TestCases/ignore_object.c
compiler-rt/test/lsan/TestCases/use_after_return.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c b/compiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c
index 18476d5a9ade..c26d33dce7d3 100644
--- a/compiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c
+++ b/compiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c
@@ -8,6 +8,9 @@
// RUN: %env_lsan_opts=$LSAN_BASE:use_tls=1 %run %t
// RUN: %env_lsan_opts=$LSAN_BASE:use_tls=0 not %run %t 2>&1 | FileCheck %s
+// Investigate why it does not fail with use_stack=0
+// UNSUPPORTED: arm-linux || armhf-linux
+
#include <assert.h>
#include <pthread.h>
#include <stdio.h>
diff --git a/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp b/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
index 650e6ad20aa9..ecb6dbe4f764 100644
--- a/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
+++ b/compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
@@ -5,6 +5,9 @@
// RUN: %env_lsan_opts=$LSAN_BASE:"use_tls=1" %run %t 2>&1
// RUN: %env_lsan_opts="" %run %t 2>&1
+// Investigate why it does not fail with use_tls=0
+// UNSUPPORTED: arm-linux || armhf-linux
+
#include <assert.h>
#include <pthread.h>
#include <stdio.h>
diff --git a/compiler-rt/test/lsan/TestCases/disabler.c b/compiler-rt/test/lsan/TestCases/disabler.c
index 73f1b3e36e93..3376f7bfb7b4 100644
--- a/compiler-rt/test/lsan/TestCases/disabler.c
+++ b/compiler-rt/test/lsan/TestCases/disabler.c
@@ -3,6 +3,9 @@
// RUN: %clang_lsan %s -o %t
// RUN: %env_lsan_opts=$LSAN_BASE not %run %t 2>&1 | FileCheck %s
+// Investigate why it does not fail with use_tls=0
+// UNSUPPORTED: arm-linux || armhf-linux
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp b/compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
index 40a97635cc10..3503eb0f6426 100644
--- a/compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
+++ b/compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
@@ -6,6 +6,9 @@
// RUN: %env_lsan_opts=$LSAN_BASE not %run %t 2>&1 | FileCheck --check-prefix=CHECK-strict %s
// RUN: %env_lsan_opts=$LSAN_BASE not %run %t foo 2>&1 | FileCheck --check-prefix=CHECK-normal %s
+// Investigate why LeakyGlobal leak does show
+// UNSUPPORTED: arm-linux || armhf-linux
+
#include <stdio.h>
#include <stdlib.h>
#include <sanitizer/lsan_interface.h>
diff --git a/compiler-rt/test/lsan/TestCases/ignore_object.c b/compiler-rt/test/lsan/TestCases/ignore_object.c
index 92f03ee33a05..e5fc0128cac7 100644
--- a/compiler-rt/test/lsan/TestCases/ignore_object.c
+++ b/compiler-rt/test/lsan/TestCases/ignore_object.c
@@ -3,6 +3,9 @@
// RUN: %clang_lsan %s -o %t
// RUN: %env_lsan_opts=$LSAN_BASE not %run %t 2>&1 | FileCheck %s
+// Investigate why it does not fail with use_stack=0
+// UNSUPPORTED: arm-linux || armhf-linux
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/lsan/TestCases/use_after_return.cpp b/compiler-rt/test/lsan/TestCases/use_after_return.cpp
index 5c60ec60f3e0..decab6c69611 100644
--- a/compiler-rt/test/lsan/TestCases/use_after_return.cpp
+++ b/compiler-rt/test/lsan/TestCases/use_after_return.cpp
@@ -6,6 +6,9 @@
// RUN: ASAN_OPTIONS=$ASAN_OPTIONS:detect_stack_use_after_return=1 %env_lsan_opts=$LSAN_BASE:"use_stacks=1" %run %t 2>&1
// RUN: ASAN_OPTIONS=$ASAN_OPTIONS:detect_stack_use_after_return=1 %env_lsan_opts="" %run %t 2>&1
+// Investigate why it does not fail with use_stack=0
+// UNSUPPORTED: arm-linux || armhf-linux
+
#include <stdio.h>
#include <stdlib.h>
#include "sanitizer_common/print_address.h"
More information about the llvm-commits
mailing list