Fix test to use the right metadata node (reapply r223239 plus a fix) and also to...
authorNick Lewycky <nicholas@mxc.ca>
Wed, 3 Dec 2014 17:32:44 +0000 (17:32 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 3 Dec 2014 17:32:44 +0000 (17:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223244 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/GCOVProfiling/return-block.ll

index 7874895ad5b555b66437d18f8907aa76ff0975d2..fc3c44b7df40bd86572aed7f0830ef4f11186fff 100644 (file)
@@ -2,7 +2,7 @@
 ; RUN: echo '!19 = metadata !{metadata !"%/T/return-block.ll", metadata !0}' > %t1
 ; RUN: cat %s %t1 > %t2
 ; RUN: opt -insert-gcov-profiling -disable-output %t2
-; RUN: llvm-cov gcov -n -dump return-block.gcno 2>&1 | FileCheck %s
+; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
@@ -33,7 +33,7 @@ attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointe
 attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
 attributes #2 = { nounwind }
 
-!llvm.gcov = !{!14}
+!llvm.gcov = !{!19}
 !llvm.dbg.cu = !{!0}
 !llvm.module.flags = !{!11, !12}
 !llvm.ident = !{!13}