diff options
author | Igor Kudrin <ikudrin.dev@gmail.com> | 2016-06-07 04:11:51 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin.dev@gmail.com> | 2016-06-07 04:11:51 +0000 |
commit | a8c1d8bb6db4ed012398f8d45f5ec019707c00d4 (patch) | |
tree | b837796bf9d46a9391e298c18eadd6d849ac53a1 /clang/test/CoverageMapping/unused_function.cpp | |
parent | a219552ca838b44d44c9b165fc4def5503f69bb6 (diff) | |
download | llvm-a8c1d8bb6db4ed012398f8d45f5ec019707c00d4.zip llvm-a8c1d8bb6db4ed012398f8d45f5ec019707c00d4.tar.gz llvm-a8c1d8bb6db4ed012398f8d45f5ec019707c00d4.tar.bz2 |
Revert [Coverage] Fix an assertion failure if the definition of an unused function spans multiple files.
r271969 The test case fails on Windows.
llvm-svn: 271976
Diffstat (limited to 'clang/test/CoverageMapping/unused_function.cpp')
-rw-r--r-- | clang/test/CoverageMapping/unused_function.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/clang/test/CoverageMapping/unused_function.cpp b/clang/test/CoverageMapping/unused_function.cpp deleted file mode 100644 index b50b089..0000000 --- a/clang/test/CoverageMapping/unused_function.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only %s | FileCheck %s - -#define START_SCOPE { -#define END_SCOPE } - -// CHECK: _Z2f0v: -// CHECK-NEXT: File 0, [[@LINE+1]]:18 -> [[@LINE+1]]:20 = 0 -inline void f0() {} - -// CHECK: _Z2f1v: -// CHECK-NEXT: File 0, [[@LINE+1]]:18 -> [[@LINE+1]]:31 = 0 -inline void f1() START_SCOPE } - -// CHECK: _Z2f2v: -// CHECK-NEXT: File 0, [[@LINE+1]]:18 -> [[@LINE+1]]:29 = 0 -inline void f2() { END_SCOPE - -// CHECK: _Z2f3v: -// CHECK-NEXT: File 0, [[@LINE+1]]:18 -> [[@LINE+1]]:39 = 0 -inline void f3() START_SCOPE END_SCOPE - -// CHECK: _Z2f4v: -// CHECK-NEXT: File 0, [[@LINE+2]]:10 -> [[@LINE+3]]:2 = 0 -inline void f4() -#include "Inputs/starts_a_scope_only" -} - -// CHECK: _Z2f5v: -// CHECK-NEXT: File 0, [[@LINE+1]]:18 -> [[@LINE+2]]:36 = 0 -inline void f5() { -#include "Inputs/ends_a_scope_only" - -// CHECK: _Z2f6v: -// CHECK-NEXT: File 0, [[@LINE+2]]:10 -> [[@LINE+3]]:36 = 0 -inline void f6() -#include "Inputs/starts_a_scope_only" -#include "Inputs/ends_a_scope_only" |