[compiler-rt] ab99a41 - [ASan] Removed checks if the tested functions were emitted.
Kirill Stoimenov via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 12:21:05 PDT 2022
Author: Kirill Stoimenov
Date: 2022-04-19T19:20:52Z
New Revision: ab99a414ef95cc70d7ff2571735775d185626362
URL: https://github.com/llvm/llvm-project/commit/ab99a414ef95cc70d7ff2571735775d185626362
DIFF: https://github.com/llvm/llvm-project/commit/ab99a414ef95cc70d7ff2571735775d185626362.diff
LOG: [ASan] Removed checks if the tested functions were emitted.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D124030
Added:
Modified:
compiler-rt/test/asan/TestCases/load_and_store_n.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/load_and_store_n.cpp b/compiler-rt/test/asan/TestCases/load_and_store_n.cpp
index e1065c2001bac..6e437e452889f 100644
--- a/compiler-rt/test/asan/TestCases/load_and_store_n.cpp
+++ b/compiler-rt/test/asan/TestCases/load_and_store_n.cpp
@@ -1,32 +1,18 @@
-// CHECK_REGULAR_LOAD_STORE: call void @__asan_loadN
-// CHECK_REGULAR_LOAD_STORE: call void @__asan_storeN
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o %t
-// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o - -S \
-// RUN: -emit-llvm | FileCheck %s --check-prefix=CHECK_REGULAR_LOAD_STORE
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
// RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
// RUN: not %run %t C 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
// RUN: not %run %t D 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
-// CHECK_NOABORT_LOAD_STORE: call void @__asan_loadN_noabort
-// CHECK_NOABORT_LOAD_STORE: call void @__asan_storeN_noabort
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o %t \
// RUN: -mllvm -asan-recover=1
-// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o - -S \
-// RUN: -mllvm -asan-recover=1 -emit-llvm \
-// RUN: | FileCheck %s --check-prefix=CHECK_NOABORT_LOAD_STORE
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
// RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
// RUN: not %run %t C 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
// RUN: not %run %t D 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
-// CHECK_EXP_LOAD_STORE: call void @__asan_exp_loadN
-// CHECK_EXP_LOAD_STORE: call void @__asan_exp_storeN
// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o %t \
// RUN: -mllvm -asan-force-experiment=42
-// RUN: %clangxx_asan -O2 -fsanitize-address-outline-instrumentation %s -o - -S \
-// RUN: -mllvm -asan-force-experiment=42 -emit-llvm \
-// RUN: | FileCheck %s --check-prefix=CHECK_EXP_LOAD_STORE
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
// RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=CHECK_0_BYTES
// RUN: not %run %t C 2>&1 | FileCheck %s --check-prefix=CHECK_1_BYTES
More information about the llvm-commits
mailing list