From: Alex Lorenz Date: Tue, 30 Sep 2014 14:48:12 +0000 (+0000) Subject: Revert r218673 'llvm-cov: add test for report's function & file association.' X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a66e3bbf7a25ed04cca3dfc576d48c61a5feb742;p=oota-llvm.git Revert r218673 'llvm-cov: add test for report's function & file association.' Test causes buildbot failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218676 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping b/test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping deleted file mode 100644 index 51a5ba2c3d5..00000000000 Binary files a/test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping and /dev/null differ diff --git a/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h b/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h deleted file mode 100644 index 9280e039bdc..00000000000 --- a/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h +++ /dev/null @@ -1,8 +0,0 @@ - -void foo(int x) { - int y = x + 1; -} - -void bar() { - -} diff --git a/test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata b/test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata deleted file mode 100644 index eec54935a14..00000000000 Binary files a/test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata and /dev/null differ diff --git a/test/tools/llvm-cov/reportFunctionPlacement.cpp b/test/tools/llvm-cov/reportFunctionPlacement.cpp deleted file mode 100644 index fef945d257e..00000000000 --- a/test/tools/llvm-cov/reportFunctionPlacement.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// RUN: llvm-cov report %S/Inputs/reportFunctionPlacement.covmapping -instr-profile %S/Inputs/reportFunctionPlacement.profdata -no-colors 2>&1 | FileCheck %s -// This test checks that the functions defined in header files will get -// associated with header files rather than source files for the reports. - -#include "Inputs/reportFunctionPlacement.h" - -// CHECK: Filename Regions Miss Cover Functions Executed -// CHECK: --- -// CHECK: ...ortFunctionPlacement.h 2 1 50.00% 2 50.00% -// CHECK: ...tFunctionPlacement.cpp 2 0 100.00% 2 100.00% -// CHECK: --- -// CHECK: TOTAL 4 1 75.00% 4 75.00% - -void func() { -} - -int main() { - foo(10); - func(); - return 0; -} - -// llvm-cov doesn't work on big endian yet -// XFAIL: powerpc64-, s390x, mips-, mips64-, sparc