Skip to content

Commit ab99a41

Browse files
committed
[ASan] Removed checks if the tested functions were emitted.
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D124030
1 parent 8d4b5e0 commit ab99a41

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

compiler-rt/test/asan/TestCases/load_and_store_n.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,18 @@
1-
// CHECK_REGULAR_LOAD_STORE: call void @__asan_loadN
2-
// CHECK_REGULAR_LOAD_STORE: call void @__asan_storeN
31
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o %t
4-
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o - -S \
5-
// RUN: -emit-llvm | FileCheck %s --check-prefix=CHECK_REGULAR_LOAD_STORE
62
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
73
// RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
84
// RUN: not %run %t C 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
95
// RUN: not %run %t D 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
106

11-
// CHECK_NOABORT_LOAD_STORE: call void @__asan_loadN_noabort
12-
// CHECK_NOABORT_LOAD_STORE: call void @__asan_storeN_noabort
137
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o %t \
148
// RUN: -mllvm -asan-recover=1
15-
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o - -S \
16-
// RUN: -mllvm -asan-recover=1 -emit-llvm \
17-
// RUN: | FileCheck %s --check-prefix=CHECK_NOABORT_LOAD_STORE
189
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
1910
// RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
2011
// RUN: not %run %t C 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
2112
// RUN: not %run %t D 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
2213

23-
// CHECK_EXP_LOAD_STORE: call void @__asan_exp_loadN
24-
// CHECK_EXP_LOAD_STORE: call void @__asan_exp_storeN
2514
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o %t \
2615
// RUN: -mllvm -asan-force-experiment=42
27-
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o - -S \
28-
// RUN: -mllvm -asan-force-experiment=42 -emit-llvm \
29-
// RUN: | FileCheck %s --check-prefix=CHECK_EXP_LOAD_STORE
3016
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
3117
// RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
3218
// RUN: not %run %t C 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES

0 commit comments

Comments
 (0)