summaryrefslogtreecommitdiffstats
path: root/clang/test/CoverageMapping/switchmacro.c
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-08-05 00:34:10 +0000
committerVedant Kumar <vsk@apple.com>2017-08-05 00:34:10 +0000
commita7764adcbb3d6fa3f41d3af50d974d6502bf6981 (patch)
tree71c74904494445a25c6334964ba9f00fa2848d58 /clang/test/CoverageMapping/switchmacro.c
parent61776e6910ae2bc1060dde632b6e5a7621e7f3f4 (diff)
downloadbcm5719-llvm-a7764adcbb3d6fa3f41d3af50d974d6502bf6981.tar.gz
bcm5719-llvm-a7764adcbb3d6fa3f41d3af50d974d6502bf6981.zip
Revert "[Coverage] Precise region termination with deferred regions"
This reverts commit r310010. I don't think there's anything wrong with this commit, but it's causing clang to generate output that llvm-cov doesn't do a good job with and the fix isn't immediately clear. See Eli's comment in D36250 for more context. I'm reverting the clang change so the coverage bot can revert back to producing sensible output, and to give myself some time to investigate what went wrong in llvm. llvm-svn: 310154
Diffstat (limited to 'clang/test/CoverageMapping/switchmacro.c')
-rw-r--r--clang/test/CoverageMapping/switchmacro.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/test/CoverageMapping/switchmacro.c b/clang/test/CoverageMapping/switchmacro.c
index 8fb1b83d711..55f93d8f60c 100644
--- a/clang/test/CoverageMapping/switchmacro.c
+++ b/clang/test/CoverageMapping/switchmacro.c
@@ -8,7 +8,6 @@ int foo(int i) { // CHECK-NEXT: File 0, [[@LINE]]:16 -> {{[0-9]+}}:2 = #0
default: // CHECK-NEXT: File 0, [[@LINE]]:3 -> {{[0-9]+}}:11 = #2
if (i == 1) // CHECK-NEXT: File 0, [[@LINE]]:9 -> [[@LINE]]:15 = #2
return 0; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE]]:15 = #3
- // CHECK-NEXT: File 0, [[@LINE-1]]:15 -> [[@LINE+3]]:5 = (#2 - #3)
// CHECK-NEXT: Expansion,File 0, [[@LINE+2]]:5 -> [[@LINE+2]]:8 = (#2 - #3) (Expanded file = 1)
// CHECK-NEXT: File 0, [[@LINE+1]]:8 -> {{[0-9]+}}:11 = (#2 - #3)
FOO(1);
OpenPOWER on IntegriCloud