Home | History | Annotate | Download | only in GCOVProfiling
      1 ; RUN: echo '!9 = !{!"%/T/linkagename.ll", !0}' > %t1
      2 ; RUN: cat %s %t1 > %t2
      3 ; RUN: opt -insert-gcov-profiling -disable-output < %t2
      4 ; RUN: grep _Z3foov %T/linkagename.gcno
      5 ; RUN: rm %T/linkagename.gcno
      6 
      7 define void @_Z3foov() !dbg !5 {
      8 entry:
      9   ret void, !dbg !8
     10 }
     11 
     12 !llvm.dbg.cu = !{!0}
     13 !llvm.module.flags = !{!10}
     14 !llvm.gcov = !{!9}
     15 
     16 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 177323)", isOptimized: false, emissionKind: 0, file: !2, enums: !3, retainedTypes: !3, subprograms: !4, globals: !3, imports:  !3)
     17 !1 = !DIFile(filename: "hello.cc", directory: "/home/nlewycky")
     18 !2 = !DIFile(filename: "hello.cc", directory: "/home/nlewycky")
     19 !3 = !{}
     20 !4 = !{!5}
     21 !5 = distinct !DISubprogram(name: "foo", linkageName: "_Z3foov", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !1, type: !6, variables: !3)
     22 !6 = !DISubroutineType(types: !7)
     23 !7 = !{null}
     24 !8 = !DILocation(line: 1, scope: !5)
     25 
     26 
     27 !10 = !{i32 1, !"Debug Info Version", i32 3}
     28