[Coverage] add covmap v2 binary format regression test
authorXinliang David Li <davidxl@google.com>
Wed, 10 Feb 2016 20:14:04 +0000 (20:14 +0000)
committerXinliang David Li <davidxl@google.com>
Wed, 10 Feb 2016 20:14:04 +0000 (20:14 +0000)
llvm-svn: 260428

llvm/test/tools/llvm-cov/Inputs/binary-formats.v1.linux64l [moved from llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat with 100% similarity]
llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux32l [new file with mode: 0755]
llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64l [new file with mode: 0755]
llvm/test/tools/llvm-cov/cov-comdat.test

diff --git a/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux32l b/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux32l
new file mode 100755 (executable)
index 0000000..6802ad9
Binary files /dev/null and b/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux32l differ
diff --git a/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64l b/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64l
new file mode 100755 (executable)
index 0000000..1527b94
Binary files /dev/null and b/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64l differ
index f44434c..de52323 100644 (file)
@@ -7,4 +7,6 @@ REQUIRES: shell
 # of the same template function are properly merged in show
 # output.
 
-// RUN: llvm-cov show %S/Inputs/elf_binary_comdat -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
+// RUN: llvm-cov show %S/Inputs/binary-formats.v1.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
+// RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h
+// RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux32l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instrprof-comdat.h | FileCheck --check-prefix=HEADER %S/Inputs/instrprof-comdat.h