From 2e91dbb2bc0dfc946f5f272c37ed17bb73ce6aa8 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Thu, 12 Sep 2019 06:52:24 +0000 Subject: [PATCH] [WebAssembly] Make wasm-eh.cpp requires WebAssembly D67208 added a new test line to wasm-eh.cpp that invokes the LLVM backend and this test fails on bots that don't have WebAssembly target. This makes wasm-eh.cpp explicitly require WebAssembly so this will be skipped on those targets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371711 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/wasm-eh.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CodeGenCXX/wasm-eh.cpp b/test/CodeGenCXX/wasm-eh.cpp index af60d636ab..9425177df0 100644 --- a/test/CodeGenCXX/wasm-eh.cpp +++ b/test/CodeGenCXX/wasm-eh.cpp @@ -1,3 +1,4 @@ +// REQUIRES: webassembly-registered-target // RUN: %clang_cc1 %s -triple wasm32-unknown-unknown -fms-extensions -fexceptions -fcxx-exceptions -fwasm-exceptions -target-feature +exception-handling -emit-llvm -o - -std=c++11 | FileCheck %s // RUN: %clang_cc1 %s -triple wasm64-unknown-unknown -fms-extensions -fexceptions -fcxx-exceptions -fwasm-exceptions -target-feature +exception-handling -emit-llvm -o - -std=c++11 | FileCheck %s // RUN: %clang_cc1 %s -triple wasm32-unknown-unknown -fms-extensions -fexceptions -fcxx-exceptions -fwasm-exceptions -target-feature +exception-handling -S -o - -std=c++11 | FileCheck %s --check-prefix=ASSEMBLY -- 2.50.1