1; Check that there is no persistent state in the MachO emitter that crashes
2; us when reusing the pass manager.
3; RUN: llc -mtriple=x86_64-apple-darwin -compile-twice -filetype=obj %s -o -
4
5; Force the creation of a DWARF section
6!llvm.dbg.cu = !{!0}
7!llvm.module.flags = !{!3, !4}
8
9!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "LLVM", isOptimized: true, emissionKind: FullDebug)
10!1 = !DIFile(filename: "<stdin>", directory: "/")
11!3 = !{i32 2, !"Dwarf Version", i32 4}
12!4 = !{i32 2, !"Debug Info Version", i32 3}
13