[llvm-profdata] Fix a dangling reference to an error string
llvm-svn: 318502
diff --git a/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-1.proftext b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-1.proftext
new file mode 100644
index 0000000..d54d0ad
--- /dev/null
+++ b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-1.proftext
@@ -0,0 +1,4 @@
+foo
+1024
+1
+0
diff --git a/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-2.proftext b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-2.proftext
new file mode 100644
index 0000000..261bfdd
--- /dev/null
+++ b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-2.proftext
@@ -0,0 +1,5 @@
+foo
+1024
+2
+0
+0
diff --git a/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-3.proftext b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-3.proftext
new file mode 100644
index 0000000..ca70a71
--- /dev/null
+++ b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-3.proftext
@@ -0,0 +1,6 @@
+foo
+1024
+3
+0
+0
+0
diff --git a/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-4.proftext b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-4.proftext
new file mode 100644
index 0000000..f403382
--- /dev/null
+++ b/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-4.proftext
@@ -0,0 +1,7 @@
+foo
+1024
+4
+0
+0
+0
+0