Changeset View
Changeset View
Standalone View
Standalone View
test/Transforms/GCOVProfiling/three-element-mdnode.ll
; RUN: echo '!10 = !{!"%/T/aaa.gcno", !"%/T/bbb.gcda", !0}' > %t1 | ; RUN: rm -rf %t && mkdir -p %t | ||||
; RUN: cat %s %t1 > %t2 | ; RUN: echo '!10 = !{!"%/t/aaa.gcno", !"%/t/bbb.gcda", !0}' > %t/1 | ||||
; RUN: opt -insert-gcov-profiling -S -o %t3 < %t2 | ; RUN: cat %s %t/1 > %t/2 | ||||
; RUN: grep _Z3foov %T/aaa.gcno | ; RUN: opt -insert-gcov-profiling -S -o %t/3 < %t/2 | ||||
; RUN: grep bbb.gcda %t3 | ; RUN: grep _Z3foov %t/aaa.gcno | ||||
; RUN: rm %T/aaa.gcno | ; RUN: grep bbb.gcda %t/3 | ||||
; RUN: rm %t/aaa.gcno | |||||
define void @_Z3foov() !dbg !5 { | define void @_Z3foov() !dbg !5 { | ||||
entry: | entry: | ||||
ret void, !dbg !8 | ret void, !dbg !8 | ||||
} | } | ||||
!llvm.dbg.cu = !{!0} | !llvm.dbg.cu = !{!0} | ||||
!llvm.module.flags = !{!9} | !llvm.module.flags = !{!9} | ||||
Show All 13 Lines |