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