diff --git a/test/CodeGen/WinEH/cppeh-catch-and-throw.ll b/test/CodeGen/WinEH/cppeh-catch-and-throw.ll index a5dadce5aac..c60a339f6ba 100644 --- a/test/CodeGen/WinEH/cppeh-catch-and-throw.ll +++ b/test/CodeGen/WinEH/cppeh-catch-and-throw.ll @@ -103,20 +103,20 @@ unreachable: ; preds = %catch, %entry ; Verify that we inserted a stub invoke into the outlined cleanup handler. ; -; CHECK-LABEL: define internal void @"\01?test@@YAXXZ.cleanup"(i8*, i8*) -; CHECK: entry: -; CHECK: call i8* @llvm.framerecover -; CHECK: call void @"\01??1Obj@@QEAA@XZ" -; CHECK: invoke void @llvm.donothing() -; CHECK: to label %[[SPLIT_LABEL:.+]] unwind label %[[LPAD_LABEL:.+]] -; -; CHECK: [[SPLIT_LABEL]] -; -; CHECK: [[LPAD_LABEL]] -; CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) -; CHECK: cleanup -; CHECK: unreachable -; CHECK: } +; CHECK-LABEL: define internal void @"\01?test@@YAXXZ.cleanup"(i8*, i8*) +; CHECK: entry: +; CHECK: call i8* @llvm.framerecover +; CHECK: call void @"\01??1Obj@@QEAA@XZ" +; CHECK: invoke void @llvm.donothing() +; CHECK: to label %[[SPLIT_LABEL:.+]] unwind label %[[LPAD_LABEL:.+]] +; +; CHECK: [[SPLIT_LABEL]] +; +; CHECK: [[LPAD_LABEL]] +; CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) +; CHECK: cleanup +; CHECK: unreachable +; CHECK: } declare void @_CxxThrowException(i8*, %eh.ThrowInfo*)