diff options
Diffstat (limited to 'test/Transforms/GCOVProfiling/version.ll')
| -rw-r--r-- | test/Transforms/GCOVProfiling/version.ll | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/Transforms/GCOVProfiling/version.ll b/test/Transforms/GCOVProfiling/version.ll index efd633a..d6d0f33 100644 --- a/test/Transforms/GCOVProfiling/version.ll +++ b/test/Transforms/GCOVProfiling/version.ll @@ -1,17 +1,19 @@ -; RUN: echo '!9 = metadata !{metadata !"%s", metadata !0}' > %t1 +; RUN: echo '!9 = metadata !{metadata !"%T/version.ll", metadata !0}' > %t1 ; RUN: cat %s %t1 > %t2 ; RUN: opt -insert-gcov-profiling -disable-output < %t2 -; RUN: head -c12 %S/version.gcno | grep '^oncg\*204MVLL$' -; RUN: rm %S/version.gcno +; RUN: head -c12 %T/version.gcno | grep '^oncg\*204MVLL$' +; RUN: rm %T/version.gcno ; RUN: not opt -insert-gcov-profiling -default-gcov-version=asdfasdf -disable-output < %t2 ; RUN: opt -insert-gcov-profiling -default-gcov-version=407* -disable-output < %t2 -; RUN: head -c12 %S/version.gcno | grep '^oncg\*704MVLL$' -; RUN: rm %S/version.gcno +; RUN: head -c12 %T/version.gcno | grep '^oncg\*704MVLL$' +; RUN: rm %T/version.gcno define void @test() { ret void, !dbg !8 } +; REQUIRES: shell + !llvm.gcov = !{!9} !llvm.dbg.cu = !{!0} |
