1 ; Check that there is no persistent state in the WabAssembly emitter that cause
2 ; issues when reusing the pass manager.
3 ; RUN: llc -mtriple=wasm32-unknown-unknown -compile-twice -filetype=obj %s -o -
5 ; Force the creation of a DWARF section
7 !llvm.module.flags = !{!3, !4}
9 @myglobal = global i32 0, align 4
11 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "LLVM", isOptimized: true, emissionKind: FullDebug)
12 !1 = !DIFile(filename: "<stdin>", directory: "/")
13 !3 = !{i32 2, !"Dwarf Version", i32 4}
14 !4 = !{i32 2, !"Debug Info Version", i32 3}