[llvm] r218676 - Revert r218673 'llvm-cov: add test for report's function & file association.'
Alex Lorenz
arphaman at gmail.com
Tue Sep 30 07:48:12 PDT 2014
Author: arphaman
Date: Tue Sep 30 09:48:12 2014
New Revision: 218676
URL: http://llvm.org/viewvc/llvm-project?rev=218676&view=rev
Log:
Revert r218673 'llvm-cov: add test for report's function & file association.'
Test causes buildbot failures.
Removed:
llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping
llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h
llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata
llvm/trunk/test/tools/llvm-cov/reportFunctionPlacement.cpp
Removed: llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.covmapping?rev=218675&view=auto
==============================================================================
Binary file - no diff available.
Removed: llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h?rev=218675&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h (original)
+++ llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.h (removed)
@@ -1,8 +0,0 @@
-
-void foo(int x) {
- int y = x + 1;
-}
-
-void bar() {
-
-}
Removed: llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/Inputs/reportFunctionPlacement.profdata?rev=218675&view=auto
==============================================================================
Binary file - no diff available.
Removed: llvm/trunk/test/tools/llvm-cov/reportFunctionPlacement.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/reportFunctionPlacement.cpp?rev=218675&view=auto
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/reportFunctionPlacement.cpp (original)
+++ llvm/trunk/test/tools/llvm-cov/reportFunctionPlacement.cpp (removed)
@@ -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
More information about the llvm-commits
mailing list