summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/TestCases/Linux/ill.cc
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-09-15 00:02:30 +0000
committerVitaly Buka <vitalybuka@google.com>2017-09-15 00:02:30 +0000
commit973030f71da9f1620364652baca380d2df6bfd8d (patch)
treeae82aa74fed1200bee3f22c3a0825661f4172418 /test/sanitizer_common/TestCases/Linux/ill.cc
parent476bb23ca07911c2a52644e743fabdba40a0c1b4 (diff)
[lsan] Disable clang-format on few RUN: statements
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common/TestCases/Linux/ill.cc')
-rw-r--r--test/sanitizer_common/TestCases/Linux/ill.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/sanitizer_common/TestCases/Linux/ill.cc b/test/sanitizer_common/TestCases/Linux/ill.cc
index 2707fc9af..030da3376 100644
--- a/test/sanitizer_common/TestCases/Linux/ill.cc
+++ b/test/sanitizer_common/TestCases/Linux/ill.cc
@@ -1,8 +1,12 @@
// Test the handle_sigill option.
+
+// clang-format off
// RUN: %clang %s -o %t -O1
// RUN: not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s
// RUN: %env_tool_opts=handle_sigill=0 not --crash %run %t 2>&1 | FileCheck --check-prefix=CHECK0 %s
// RUN: %env_tool_opts=handle_sigill=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK1 %s
+// clang-format on
+
// FIXME: implement in other sanitizers, not just asan.
// XFAIL: msan
// XFAIL: lsan