From d75eaf2b17bba1c0ee6aab873e1243531c2faedd Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Thu, 21 Jan 2016 01:21:00 +0000 Subject: Revert 258376 -- wrong version llvm-svn: 258377 --- llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat | Bin 2125247 -> 0 bytes .../tools/llvm-cov/Inputs/elf_binary_comdat.profdata | Bin 1040 -> 0 bytes llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h | 19 ------------------- llvm/test/tools/llvm-cov/cov-comdat.test | 10 ---------- 4 files changed, 29 deletions(-) delete mode 100755 llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat delete mode 100644 llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat.profdata delete mode 100644 llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h delete mode 100644 llvm/test/tools/llvm-cov/cov-comdat.test (limited to 'llvm/test/tools/llvm-cov') diff --git a/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat b/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat deleted file mode 100755 index b5ce4b5a35f..00000000000 Binary files a/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat and /dev/null differ diff --git a/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat.profdata b/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat.profdata deleted file mode 100644 index 85667041e2c..00000000000 Binary files a/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat.profdata and /dev/null differ diff --git a/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h b/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h deleted file mode 100644 index e1227167cd4..00000000000 --- a/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h +++ /dev/null @@ -1,19 +0,0 @@ -template class FOO { -public: - FOO() : t(0) {} - - T DoIt(T ti); - -private: - T t; -}; - -template T FOO::DoIt(T ti) { // HEADER: 2| [[@LINE]]|template - for (T I = 0; I < ti; I++) { // HEADER: 22| [[@LINE]]| for (T - t += I; // HEADER: 20| [[@LINE]]| t += I; - if (I > ti / 2) // HEADER: 20| [[@LINE]]| if (I > ti - t -= 1; // HEADER: 8| [[@LINE]]| t -= 1; - } // HEADER: 10| [[@LINE]]| } - // HEADER: 1| [[@LINE]]| - return t; // HEADER: 1| [[@LINE]]| return t; -} diff --git a/llvm/test/tools/llvm-cov/cov-comdat.test b/llvm/test/tools/llvm-cov/cov-comdat.test deleted file mode 100644 index f44434c0c22..00000000000 --- a/llvm/test/tools/llvm-cov/cov-comdat.test +++ /dev/null @@ -1,10 +0,0 @@ -REQUIRES: shell - -# The binary contains two (merged) covmap sections which -# have duplicate CovMapRecords from comdat (template instantation). -# This test makes sure the reader reads it properly. It also -# tests that the coverage data from different instantiations -# 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 -- cgit v1.2.3