• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Check the MCNullStreamer operates correctly, at least on a minimal test case.
2;
3; RUN: llc -filetype=null -o %t -march=x86 %s
4; RUN: llc -filetype=null -o %t -mtriple=i686-cygwin %s
5
6define void @f0()  {
7  ret void
8}
9
10define void @f1() {
11  ret void
12}
13
14!llvm.dbg.cu = !{!0}
15!llvm.module.flags = !{!11, !13}
16
17!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: " ", isOptimized: true, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !9, imports: !2)
18!1 = !DIFile(filename: "file.c", directory: "")
19!2 = !{}
20!4 = distinct !DISubprogram(name: "", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 2, file: !1, scope: !1, type: !6, variables: !2)
21!6 = !DISubroutineType(types: !7)
22!7 = !{!8}
23!8 = !DIBasicType(tag: DW_TAG_base_type, size: 32, align: 32, encoding: DW_ATE_signed)
24!9 = !{!10}
25!10 = !DIGlobalVariable(name: "i", linkageName: "_ZL1i", line: 1, isLocal: true, isDefinition: true, scope: null, file: !1, type: !8)
26!11 = !{i32 2, !"Dwarf Version", i32 3}
27!13 = !{i32 1, !"Debug Info Version", i32 3}
28