Changeset View
Changeset View
Standalone View
Standalone View
test/Transforms/GCOVProfiling/linkagename.ll
; RUN: echo '!9 = !{!"%/T/linkagename.ll", !0}' > %t1 | ; RUN: rm -rf %t && mkdir -p %t | ||||
; RUN: cat %s %t1 > %t2 | ; RUN: echo '!9 = !{!"%/t/linkagename.ll", !0}' > %t/1 | ||||
; RUN: opt -insert-gcov-profiling -disable-output < %t2 | ; RUN: cat %s %t/1 > %t/2 | ||||
; RUN: grep _Z3foov %T/linkagename.gcno | ; RUN: opt -insert-gcov-profiling -disable-output < %t/2 | ||||
; RUN: rm %T/linkagename.gcno | ; RUN: grep _Z3foov %t/linkagename.gcno | ||||
; RUN: rm %t/linkagename.gcno | |||||
; RUN: opt -passes=insert-gcov-profiling -disable-output < %t2 | |||||
; RUN: grep _Z3foov %T/linkagename.gcno | ; RUN: opt -passes=insert-gcov-profiling -disable-output < %t/2 | ||||
; RUN: rm %T/linkagename.gcno | ; RUN: grep _Z3foov %t/linkagename.gcno | ||||
; RUN: rm %t/linkagename.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 = !{!10} | !llvm.module.flags = !{!10} | ||||
Show All 13 Lines |