[compiler-rt] 76d3d07 - [ASan] Fixed Windows test by excluding macro instantiated INTERFACE_FUNCTION.
Kirill Stoimenov via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 9 16:04:46 PST 2021
Author: Kirill Stoimenov
Date: 2021-12-10T00:04:37Z
New Revision: 76d3d07845c9340298c3356e698294728c8c21bd
URL: https://github.com/llvm/llvm-project/commit/76d3d07845c9340298c3356e698294728c8c21bd
DIFF: https://github.com/llvm/llvm-project/commit/76d3d07845c9340298c3356e698294728c8c21bd.diff
LOG: [ASan] Fixed Windows test by excluding macro instantiated INTERFACE_FUNCTION.
Reviewed By: kstoimenov
Differential Revision: https://reviews.llvm.org/D115478
Added:
Modified:
compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp b/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
index 1fabd32c0f1d6..b81682b22e9af 100644
--- a/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
+++ b/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
@@ -15,14 +15,14 @@
// [BEWARE: be really careful with the sed commands, as this test can be run
// from
diff erent environments with
diff erent shells and seds]
//
-// RUN: grep -e "INTERFACE_FUNCTION" \
+// RUN: grep -e "^INTERFACE_FUNCTION" \
// RUN: %p/../../../../lib/asan/asan_interface.inc \
// RUN: %p/../../../../lib/ubsan/ubsan_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_common_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_coverage_interface.inc \
// RUN: | sed -e "s/.*(//" -e "s/).*//" > %t.imports1
//
-// RUN: grep -e "INTERFACE_WEAK_FUNCTION" \
+// RUN: grep -e "^INTERFACE_WEAK_FUNCTION" \
// RUN: %p/../../../../lib/asan/asan_interface.inc \
// RUN: %p/../../../../lib/ubsan/ubsan_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_common_interface.inc \
More information about the llvm-commits
mailing list