Skip to content

Commit 9048f7a

Browse files
committed
Remove runtime uncloaking test
1 parent d6e0f89 commit 9048f7a

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

compiler-rt/test/sanitizer_common/TestCases/Linux/cloak_sigaction.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=false not %run %t 2>&1 | FileCheck %s --check-prefix=UNCLOAKED
1010
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=true not %run %t 2>&1 | FileCheck %s --check-prefix=CLOAKED
1111

12-
// RUN: %clangxx -O0 %s -DUNCLOAK_RT -o %t
13-
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=false not %run %t 2>&1 | FileCheck %s --check-prefix=UNCLOAKED
14-
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=true not %run %t 2>&1 | FileCheck %s --check-prefix=UNCLOAKED
15-
1612
#include <sanitizer/common_interface_defs.h>
1713
#include <signal.h>
1814
#include <stdio.h>
@@ -24,10 +20,6 @@ void handler(int signum, siginfo_t *info, void *context) {
2420
}
2521

2622
int main(int argc, char *argv[]) {
27-
#ifdef UNCLOAK_RT
28-
__sanitizer_uncloak_preinstalled_signal_handlers();
29-
#endif
30-
3123
struct sigaction sa = {0};
3224
struct sigaction old = {0};
3325
sa.sa_flags = SA_SIGINFO;

compiler-rt/test/sanitizer_common/TestCases/Linux/cloak_signal.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=false not %run %t 2>&1 | FileCheck %s --check-prefix=UNCLOAKED
1010
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=true not %run %t 2>&1 | FileCheck %s --check-prefix=CLOAKED
1111

12-
// RUN: %clangxx -O0 %s -DUNCLOAK_RT -o %t
13-
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=false not %run %t 2>&1 | FileCheck %s --check-prefix=UNCLOAKED
14-
// RUN: %env_tool_opts=handle_segv=1:cloak_sanitizer_signal_handlers=true not %run %t 2>&1 | FileCheck %s --check-prefix=UNCLOAKED
15-
1612
#include <sanitizer/common_interface_defs.h>
1713
#include <signal.h>
1814
#include <stdio.h>
@@ -24,10 +20,6 @@ void my_signal_sighandler(int signum) {
2420
}
2521

2622
int main(int argc, char *argv[]) {
27-
#ifdef UNCLOAK_RT
28-
__sanitizer_uncloak_preinstalled_signal_handlers();
29-
#endif
30-
3123
__sighandler_t old = signal(SIGSEGV, &my_signal_sighandler);
3224
if (old == SIG_DFL)
3325
printf("Old handler: default\n");

0 commit comments

Comments
 (0)