[compiler-rt] 4316859 - [NFC][sanitizer] Format the test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 22 21:26:04 PST 2021
Author: Vitaly Buka
Date: 2021-12-22T21:25:51-08:00
New Revision: 4316859e6a1d48f856e73507e5738b9c08642554
URL: https://github.com/llvm/llvm-project/commit/4316859e6a1d48f856e73507e5738b9c08642554
DIFF: https://github.com/llvm/llvm-project/commit/4316859e6a1d48f856e73507e5738b9c08642554.diff
LOG: [NFC][sanitizer] Format the test
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp b/compiler-rt/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp
index 9567103155f0f..a39f30e0633dc 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/symbolize_pc_inline.cpp
@@ -1,7 +1,7 @@
// RUN: %clangxx -O3 %s -o %t
// RUN: %env_tool_opts=strip_path_prefix=/TestCases/ %run %t 2>&1 | FileCheck %s
-// RUN: %env_tool_opts=strip_path_prefix=/TestCases/:symbolize_inline_frames=0 \
-// RUN: %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-NOINLINE
+// RUN: %env_tool_opts=strip_path_prefix=/TestCases/:symbolize_inline_frames=0 %run %t 2>&1 | FileCheck %s --check-prefixes=NOINLINE
+// RUN: %env_tool_opts=strip_path_prefix=/TestCases/:symbolize_inline_frames=1 %run %t 2>&1 | FileCheck %s
// XFAIL: darwin
@@ -18,7 +18,7 @@ __attribute__((noinline)) static void Symbolize() {
printf("%s\n", p);
}
-// CHECK-NOINLINE: {{0x[0-9a-f]+}} in main symbolize_pc_inline.cpp:[[@LINE+2]]
+// NOINLINE: {{0x[0-9a-f]+}} in main symbolize_pc_inline.cpp:[[@LINE+2]]
// CHECK: [[ADDR:0x[0-9a-f]+]] in C2 symbolize_pc_inline.cpp:[[@LINE+1]]
static inline void C2() { Symbolize(); }
More information about the llvm-commits
mailing list