38 lines · plain
1; ModuleID = 'dbg_main.o'2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"3target triple = "x86_64-unknown-linux-gnu"4 5; Function Attrs: nounwind uwtable6define i32 @main() #0 !dbg !4 {7entry:8 %call = tail call i32 @func1(i32 10) #2, !dbg !119 %call1 = tail call i32 @func2(i32 10) #2, !dbg !1210 ret i32 0, !dbg !1311}12 13declare i32 @func1(i32) #114 15declare i32 @func2(i32) #116 17attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }18attributes #1 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }19attributes #2 = { nounwind }20 21!llvm.dbg.cu = !{!0}22!llvm.module.flags = !{!8, !9}23!llvm.ident = !{!10}24 25!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)26!1 = !DIFile(filename: "dbg_main.c", directory: ".")27!2 = !{}28!4 = distinct !DISubprogram(name: "main", scope: !1, file: !1, line: 3, type: !5, isLocal: false, isDefinition: true, scopeLine: 3, isOptimized: true, unit: !0, retainedNodes: !2)29!5 = !DISubroutineType(types: !6)30!6 = !{!7}31!7 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed)32!8 = !{i32 2, !"Dwarf Version", i32 4}33!9 = !{i32 2, !"Debug Info Version", i32 3}34!10 = !{!"clang version 3.8.0 (trunk 251407) (llvm/trunk 251401)"}35!11 = !DILocation(line: 4, column: 3, scope: !4)36!12 = !DILocation(line: 5, column: 3, scope: !4)37!13 = !DILocation(line: 6, column: 1, scope: !4)38