-catchall:
- %0 = landingpad { i8*, i32 }
- catch i8* bitcast (i32 ()* @catchall_filt to i8*)
- %1 = extractvalue { i8*, i32 } %0, 1
- %2 = call i32 @llvm.eh.typeid.for(i8* bitcast (i32 ()* @catchall_filt to i8*)) #4
- %matches = icmp eq i32 %1, %2
- br i1 %matches, label %cont, label %eh.resume
-eh.resume:
- resume { i8*, i32 } %0
+lpad:
+ %p = catchpad [i8* bitcast (i32 ()* @catchall_filt to i8*)]
+ to label %catch unwind label %endpad
+catch:
+ catchret %p to label %cont
+endpad:
+ catchendpad unwind to caller