summaryrefslogtreecommitdiffstats
path: root/clang/test/CoverageMapping/return.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/return.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/return.c')
-rw-r--r--clang/test/CoverageMapping/return.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CoverageMapping/return.c b/clang/test/CoverageMapping/return.c
index 3cc271b7ca3..1b190b0eb73 100644
--- a/clang/test/CoverageMapping/return.c
+++ b/clang/test/CoverageMapping/return.c
@@ -13,7 +13,7 @@ void func2() { // CHECK-NEXT: File 0, [[@LINE]]:14 -> {{[0-9]+}
for(int i = 0; i < 10; ++i) { // CHECK-NEXT: File 0, [[@LINE]]:31 -> {{[0-9]+}}:4 = #1
// CHECK-NEXT: File 0, [[@LINE+1]]:8 -> [[@LINE+1]]:13 = #1
if(i > 2) { // CHECK-NEXT: File 0, [[@LINE]]:15 -> [[@LINE+2]]:6 = #2
- return; // CHECK-NEXT: File 0, [[@LINE+1]]:6 -> [[@LINE+3]]:5 = (#1 - #2)
+ return;
} // CHECK-NEXT: File 0, [[@LINE+2]]:5 -> {{[0-9]+}}:4 = (#1 - #2)
// CHECK-NEXT: File 0, [[@LINE+1]]:8 -> [[@LINE+1]]:14 = (#1 - #2)
if(i == 3) { // CHECK-NEXT: File 0, [[@LINE]]:16 -> [[@LINE+2]]:6 = #3
OpenPOWER on IntegriCloud