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