From 63fb333fa405dbebcf8a3596eafb01657ec17577 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 27 May 2011 20:01:14 +0000 Subject: Implement a new, much improved version of the cleanup hack. We just need to be careful to emit landing pads that are always prepared to handle a cleanup path. This is correct mostly because of the fix to the LLVM inliner, r132200. llvm-svn: 132209 --- clang/test/CodeGenCXX/nrvo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/CodeGenCXX/nrvo.cpp') diff --git a/clang/test/CodeGenCXX/nrvo.cpp b/clang/test/CodeGenCXX/nrvo.cpp index ad6fa4f7445..3104f937f1b 100644 --- a/clang/test/CodeGenCXX/nrvo.cpp +++ b/clang/test/CodeGenCXX/nrvo.cpp @@ -95,7 +95,7 @@ X test2(bool B) { // %invoke.cont17: rethrow block for %eh.cleanup. // This really should be elsewhere in the function. - // CHECK-EH: call void @_Unwind_Resume_or_Rethrow + // CHECK-EH: call void @_Unwind_Resume( // CHECK-EH-NEXT: unreachable // %terminate.lpad: terminate landing pad. -- cgit v1.2.3