27 lines · plain
1@X = external global i322 3declare i32 @foo()4 5define void @bar() !dbg !4 {6 load i32, ptr @X, !dbg !107 call i32 @foo(), !dbg !118 ret void, !dbg !129}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: FullDebug, enums: !2)16!1 = !DIFile(filename: "linkused.b.c", directory: ".")17!2 = !{}18!4 = distinct !DISubprogram(name: "bar", scope: !1, file: !1, line: 5, type: !5, isLocal: false, isDefinition: true, scopeLine: 5, isOptimized: true, unit: !0, retainedNodes: !2)19!5 = !DISubroutineType(types: !6)20!6 = !{null}21!7 = !{i32 2, !"Dwarf Version", i32 4}22!8 = !{i32 2, !"Debug Info Version", i32 3}23!9 = !{!"clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)"}24!10 = !DILocation(line: 6, column: 7, scope: !4)25!11 = !DILocation(line: 6, column: 3, scope: !4)26!12 = !DILocation(line: 7, column: 1, scope: !4)27