diff options
author | John McCall <rjmccall@apple.com> | 2011-05-27 20:01:14 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-05-27 20:01:14 +0000 |
commit | 63fb333fa405dbebcf8a3596eafb01657ec17577 (patch) | |
tree | 331d9961dd0709c13f347f1b334331e381fc92c8 /clang/test/CodeGenCXX/nrvo.cpp | |
parent | 23f6b83d6f5375ee586736dda05d4f5517df336a (diff) | |
download | bcm5719-llvm-63fb333fa405dbebcf8a3596eafb01657ec17577.tar.gz bcm5719-llvm-63fb333fa405dbebcf8a3596eafb01657ec17577.zip |
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
Diffstat (limited to 'clang/test/CodeGenCXX/nrvo.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/nrvo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |