1; Check the MCNullStreamer operates correctly, at least on a minimal test case. 2; 3; RUN: llc -filetype=null -o %t -mtriple=i686-- %s 4; RUN: llc -filetype=null -o %t -mtriple=i686-cygwin %s 5 6source_filename = "test/CodeGen/X86/null-streamer.ll" 7 8define void @f0() { 9 ret void 10} 11 12define void @f1() { 13 ret void 14} 15 16!llvm.dbg.cu = !{!0} 17!llvm.module.flags = !{!7, !8} 18 19!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: " ", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !3, imports: !2) 20!1 = !DIFile(filename: "file.c", directory: "") 21!2 = !{} 22!3 = !{!4} 23!4 = !DIGlobalVariableExpression(var: !5, expr: !DIExpression()) 24!5 = !DIGlobalVariable(name: "i", linkageName: "_ZL1i", scope: null, file: !1, line: 1, type: !6, isLocal: true, isDefinition: true) 25!6 = !DIBasicType(size: 32, align: 32, encoding: DW_ATE_signed) 26!7 = !{i32 2, !"Dwarf Version", i32 3} 27!8 = !{i32 1, !"Debug Info Version", i32 3} 28 29