diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-09-12 06:52:24 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-09-12 06:52:24 +0000 |
commit | c4712fda7c6c27fae1ce2a1b0cc28ecbbdf5f53a (patch) | |
tree | 25c4d65682bacc810ed18fbc9e53237ebb33d8e3 | |
parent | c167402183aafdfb0f985979431ebafc43f59acf (diff) | |
download | bcm5719-llvm-c4712fda7c6c27fae1ce2a1b0cc28ecbbdf5f53a.tar.gz bcm5719-llvm-c4712fda7c6c27fae1ce2a1b0cc28ecbbdf5f53a.zip |
[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.
llvm-svn: 371711
-rw-r--r-- | clang/test/CodeGenCXX/wasm-eh.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/wasm-eh.cpp b/clang/test/CodeGenCXX/wasm-eh.cpp index af60d636ab8..9425177df0a 100644 --- a/clang/test/CodeGenCXX/wasm-eh.cpp +++ b/clang/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 |