[WebAssembly] Make sure event-section XFAILs for build options
authorHeejin Ahn <aheejin@gmail.com>
Wed, 14 Nov 2018 10:11:22 +0000 (10:11 +0000)
committerHeejin Ahn <aheejin@gmail.com>
Wed, 14 Nov 2018 10:11:22 +0000 (10:11 +0000)
rL346840 temporarily marked event-section.ll as XFAIL because it was
failing for builds with LLVM_ENABLE_EXPENSIVE_CHECKS turned on, but
to make sure it XFAILs even without LLVM_ENABLE_EXPENSIVE_CHECKS on we
need this `-verify-machineinstrs` flag, which was missing in the
previous commit.

llvm-svn: 346845

llvm/test/MC/WebAssembly/event-section.ll

index 929ea2a..1257196 100644 (file)
@@ -1,6 +1,6 @@
 ; XFAIL: *
-; RUN: llc -filetype=obj -exception-model=wasm -mattr=+exception-handling %s -o - | obj2yaml | FileCheck %s
-; RUN: llc -filetype=obj -exception-model=wasm -mattr=+exception-handling %s -o - | llvm-readobj -s | FileCheck -check-prefix=SEC %s
+; RUN: llc -filetype=obj -exception-model=wasm -mattr=+exception-handling -verify-machineinstrs %s -o - | obj2yaml | FileCheck %s
+; RUN: llc -filetype=obj -exception-model=wasm -mattr=+exception-handling -verify-machineinstrs %s -o - | llvm-readobj -s | FileCheck -check-prefix=SEC %s
 
 target triple = "wasm32-unknown-unknown"