32 lines · plain
1target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"2target triple = "x86_64-unknown-linux-gnu"3 4@fptr = external local_unnamed_addr global ptr, align 85 6; Function Attrs: norecurse nounwind uwtable7define void @_Z6updatei(i32 %i) local_unnamed_addr #0 {8entry:9 store ptr @_ZL3foov, ptr @fptr, align 810 ret void11}12 13; Function Attrs: nounwind readnone uwtable14define internal void @_ZL3foov() !prof !34 {15entry:16 %0 = load ptr, ptr @fptr, align 817 tail call void %0(), !prof !4018 ret void19}20 21!llvm.dbg.cu = !{!0}22!llvm.module.flags = !{!3}23!llvm.ident = !{!31}24 25!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 5.0.0 (trunk 297016)", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !2)26!1 = !DIFile(filename: "b.cc", directory: "/ssd/llvm/abc/small")27!2 = !{}28!3 = !{i32 2, !"Debug Info Version", i32 3}29!31 = !{!"clang version 5.0.0 (trunk 297016)"}30!34 = !{!"function_entry_count", i64 1}31!40 = !{!"VP", i32 0, i64 3000, i64 -8789629626369651636, i64 3000}32