summaryrefslogtreecommitdiffstats
path: root/clang/test/CoverageMapping/trycatch.cpp
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/trycatch.cpp
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/trycatch.cpp')
-rw-r--r--clang/test/CoverageMapping/trycatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CoverageMapping/trycatch.cpp b/clang/test/CoverageMapping/trycatch.cpp
index 37b35d30987..01d8fb93074 100644
--- a/clang/test/CoverageMapping/trycatch.cpp
+++ b/clang/test/CoverageMapping/trycatch.cpp
@@ -18,7 +18,7 @@ void func(int i) { // CHECK-NEXT: File 0, [[@LINE]]:18 -> {{[
// CHECK-NEXT: File 0, [[@LINE+1]]:10 -> [[@LINE+2]]:27 = (#0 - #1)
} else if(i == 8) // CHECK-NEXT: File 0, [[@LINE]]:13 -> [[@LINE]]:19 = (#0 - #1)
throw ImportantError(); // CHECK-NEXT: File 0, [[@LINE]]:5 -> [[@LINE]]:27 = #2
-} // CHECK-NEXT: File 0, [[@LINE-1]]:27 -> [[@LINE]]:2 = ((#0 - #1) - #2)
+}
// CHECK-NEXT: main
int main() { // CHECK-NEXT: File 0, [[@LINE]]:12 -> [[@LINE+13]]:2 = #0
OpenPOWER on IntegriCloud