[compiler-rt] r361063 - [hwasan] Limit try-catch tests to aarch64.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 11:40:08 PDT 2019
Author: eugenis
Date: Fri May 17 11:40:06 2019
New Revision: 361063
URL: http://llvm.org/viewvc/llvm-project?rev=361063&view=rev
Log:
[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
Modified:
compiler-rt/trunk/test/hwasan/TestCases/try-catch.cc
Modified: compiler-rt/trunk/test/hwasan/TestCases/try-catch.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/try-catch.cc?rev=361063&r1=361062&r2=361063&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/try-catch.cc (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/try-catch.cc Fri May 17 11:40:06 2019
@@ -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>
More information about the llvm-commits
mailing list