Home | History | Annotate | Download | only in Inputs
      1 @X = external global i32
      2 
      3 declare i32 @foo()
      4 
      5 define void @bar() !dbg !4 {
      6 	load i32, i32* @X, !dbg !10
      7 	call i32 @foo(), !dbg !11
      8 	ret void, !dbg !12
      9 }
     10 
     11 !llvm.dbg.cu = !{!0}
     12 !llvm.module.flags = !{!7, !8}
     13 !llvm.ident = !{!9}
     14 
     15 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)", isOptimized: true, runtimeVersion: 0, emissionKind: 1, enums: !2, subprograms: !3)
     16 !1 = !DIFile(filename: "linkused.b.c", directory: ".")
     17 !2 = !{}
     18 !3 = !{!4}
     19 !4 = distinct !DISubprogram(name: "bar", scope: !1, file: !1, line: 5, type: !5, isLocal: false, isDefinition: true, scopeLine: 5, isOptimized: true, variables: !2)
     20 !5 = !DISubroutineType(types: !6)
     21 !6 = !{null}
     22 !7 = !{i32 2, !"Dwarf Version", i32 4}
     23 !8 = !{i32 2, !"Debug Info Version", i32 3}
     24 !9 = !{!"clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)"}
     25 !10 = !DILocation(line: 6, column: 7, scope: !4)
     26 !11 = !DILocation(line: 6, column: 3, scope: !4)
     27 !12 = !DILocation(line: 7, column: 1, scope: !4)
     28