blob: 870e36be1dc1faa644613ba8e8ee7867702edaaa [file] [edit]
; RUN: split-file %s %t
; RUN: llvm-as < %t/dwarf.ll | llvm-dis | FileCheck %s --check-prefix=DWARF
; RUN: llvm-as < %t/sjlj.ll | llvm-dis | FileCheck %s --check-prefix=SJLJ
; RUN: llvm-as < %t/arm.ll | llvm-dis | FileCheck %s --check-prefix=ARM
; RUN: llvm-as < %t/wineh.ll | llvm-dis | FileCheck %s --check-prefix=WINEH
; RUN: llvm-as < %t/wasm.ll | llvm-dis | FileCheck %s --check-prefix=WASM
; RUN: llvm-as < %t/emscripten.ll | llvm-dis | FileCheck %s --check-prefix=EMSCRIPTEN
; RUN: llvm-as < %t/none.ll | llvm-dis | FileCheck %s --check-prefix=NONE
;--- dwarf.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"dwarf"}
; DWARF: !0 = !{i32 1, !"exception-model", !"dwarf"}
;--- sjlj.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"sjlj"}
; SJLJ: !0 = !{i32 1, !"exception-model", !"sjlj"}
;--- arm.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"arm"}
; ARM: !0 = !{i32 1, !"exception-model", !"arm"}
;--- wineh.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"wineh"}
; WINEH: !0 = !{i32 1, !"exception-model", !"wineh"}
;--- wasm.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"wasm"}
; WASM: !0 = !{i32 1, !"exception-model", !"wasm"}
;--- emscripten.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"emscripten"}
; EMSCRIPTEN: !0 = !{i32 1, !"exception-model", !"emscripten"}
;--- none.ll
!llvm.module.flags = !{!0}
!0 = !{i32 1, !"exception-model", !"none"}
; NONE: !0 = !{i32 1, !"exception-model", !"none"}