summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2015-05-11 23:06:02 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2015-05-11 23:06:02 +0000
commitcc14f387e83bc4d542a0e510fead7b736ad70282 (patch)
treed3bfe8f629f7e8e4b73abaedcf09aedd4474f335 /llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
parent119603345196bb94d9f3a4307204b5f5b983e528 (diff)
downloadbcm5719-llvm-cc14f387e83bc4d542a0e510fead7b736ad70282.tar.gz
bcm5719-llvm-cc14f387e83bc4d542a0e510fead7b736ad70282.zip
[WinEH] Handle nested landing pads that return directly to the parent function.
Differential Revision: http://reviews.llvm.org/D9684 llvm-svn: 237063
Diffstat (limited to 'llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll')
-rw-r--r--llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll b/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
index 1a5a7b07b0a..8278097f216 100644
--- a/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
+++ b/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
@@ -98,7 +98,7 @@ lpad1: ; preds = %invoke.cont
; CHECK-NEXT: cleanup
; CHECK-NEXT: catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)
; CHECK-NEXT: [[RECOVER3:\%.+]] = call i8* (...) @llvm.eh.actions(i32 1, i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*), i32 2, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch1", i32 0, void (i8*, i8*)* @"\01?test@@YAXXZ.cleanup")
-; CHECK-NEXT: indirectbr i8* [[RECOVER3]], [label %try.cont]
+; CHECK-NEXT: indirectbr i8* [[RECOVER3]], [label %try.cont, label %try.cont15]
lpad3: ; preds = %invoke.cont2
%8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*)
OpenPOWER on IntegriCloud