commit | 47442ebd0e33609b64b7f3774709609aa6daf5cb | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri May 17 18:40:06 2019 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri May 17 18:40:06 2019 |
tree | c2e447d4cfb6c5429311917910ef71a4bc18f310 | |
parent | 43581b0c33dd025dc4afeaa5ec224c0358f740fa [diff] |
[hwasan] Limit try-catch tests to aarch64. HWASan C++ tests do not do well on x86_64. Fixes https://bugs.llvm.org/show_bug.cgi?id=41923 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@361063 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/hwasan/TestCases/try-catch.cc b/test/hwasan/TestCases/try-catch.cc index 68b9011..df1f93d 100644 --- a/test/hwasan/TestCases/try-catch.cc +++ b/test/hwasan/TestCases/try-catch.cc
@@ -1,6 +1,9 @@ // RUN: %clangxx_hwasan %s -o %t && %run %t 2>&1 | FileCheck %s --check-prefix=GOOD // RUN: %clangxx_hwasan %s -mllvm -hwasan-instrument-landing-pads=0 -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=BAD +// C++ tests on x86_64 require instrumented libc++/libstdc++. +// REQUIRES: aarch64-target-arch + #include <stdexcept> #include <cstdio>