From a0101074fd8447028909dfb38efcb583f0204c84 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Sat, 9 Aug 2014 03:55:09 +0000 Subject: Revert "Add tests for coverage mapping generation." I reverted one of the added tests from r215261 in r215274, since it was failing on quite a few bots. It looks like this wasn't sufficient, as we're still getting failures on windows, like the following: http://bb.pgr.jp/builders/ninja-x64-msvc-RA-centos6/builds/5378 I'm reverting this entire commit so the bots aren't blocked on these failures. This reverts commit r215261. llvm-svn: 215278 --- clang/test/CoverageMapping/header.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 clang/test/CoverageMapping/header.cpp (limited to 'clang/test/CoverageMapping/header.cpp') diff --git a/clang/test/CoverageMapping/header.cpp b/clang/test/CoverageMapping/header.cpp deleted file mode 100644 index cea700196e9..00000000000 --- a/clang/test/CoverageMapping/header.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name tu1.cpp %s | FileCheck %s - -#include "Inputs/header1.h" - -int main() { - func(1); - static_func(2); -} - -// CHECK: static_func -// CHECK-NEXT: File 0, 12:32 -> 20:2 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 14:15 -> 16:4 = #1 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 16:10 -> 18:4 = (#0 - #1) (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 1, 3:10 -> 3:28 = #0 (HasCodeBefore = 0, Expanded file = 0) - -// CHECK-NEXT: func -// CHECK-NEXT: File 0, 4:25 -> 11:2 = #0 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 6:15 -> 8:4 = #1 (HasCodeBefore = 0) -// CHECK-NEXT: File 0, 8:10 -> 10:4 = (#0 - #1) (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 1, 3:10 -> 3:28 = #0 (HasCodeBefore = 0, Expanded file = 0) - -// CHECK-NEXT: static_func2 -// CHECK-NEXT: File 0, 21:33 -> 29:2 = 0 (HasCodeBefore = 0) -// CHECK-NEXT: Expansion,File 1, 3:10 -> 3:28 = 0 (HasCodeBefore = 0, Expanded file = 0) -- cgit v1.2.3