576cf17055c92e7d1ae8fb9fd9f79433a16a4394 |
|
06-Sep-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Rearrange code so that we pass the right pointer to delete[] when an exception is thrown constructing the array elements in an array new expression. Fixes PR10870. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139158 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
90b2bdf3b96892ea44e5bf6869a92a08d09a6545 |
|
26-Aug-2011 |
John McCall <rjmccall@apple.com> |
An initialization does not alias. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
1366862c3f5d390140b5978380d9ac7317d60fc6 |
|
26-Aug-2011 |
John McCall <rjmccall@apple.com> |
The allocated exception slot does not alias anything; should fix self-host. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
777d6e56ad9b1fed9866daf3ee6486d85c5b7d32 |
|
11-Aug-2011 |
John McCall <rjmccall@apple.com> |
Simplify EH control flow by observing that EH scopes form a simple hierarchy of delegation, and that EH selector values are meaningful function-wide (good thing, too, or inlining wouldn't work). 2,3d 1a hierarchy of delegation and that EH selector values have the same meaning everywhere in the function instead of being meaningful only in the context of a specific selector. This removes the need for routing edges through EH cleanups, since a cleanup simply always branches to its enclosing scope. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
93c332a8ba2c193c435b293966d343dab15f555b |
|
28-May-2011 |
John McCall <rjmccall@apple.com> |
Convert Clang over to resuming from landing pads with llvm.eh.resume. It's quite likely that this will explode, but I need to know how. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
c2f3e7f42c8bf9e8d4393a6e8c4762dafc4f28dd |
|
07-Mar-2011 |
John McCall <rjmccall@apple.com> |
The conditional needs to be pushed before the branch. Make the test less trivial to check this. Adjust for style. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
a7f633f522af786e80dc08dbd63e222c9414095b |
|
07-Mar-2011 |
John McCall <rjmccall@apple.com> |
An operator new with an empty exception specifier returns null on a bad allocation and therefore requires a null-check. We were doing that, but we weren't treating the new-initializer as being conditionally executed, which means it was possible to get ill-formed IR as in PR9298. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127147 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
abea951c34876a5374d0e3678c7989b225c5c895 |
|
28-Feb-2011 |
Anders Carlsson <andersca@mac.com> |
Add -fcxx-exceptions to all tests that use C++ exceptions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
27f8d703e65095ca9c8c5d08a5a835b5510a730d |
|
25-Feb-2011 |
John McCall <rjmccall@apple.com> |
Tame an assert; the scope depth of a jump destination does not necessarily enclose the innermost normal cleanup depth, because the top of the jump scope stack might be an EH cleanup or EH scope. Fixes PR9303. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126472 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
e996ffd240f20a1048179d7727a6ee3227261921 |
|
16-Feb-2011 |
John McCall <rjmccall@apple.com> |
Save a copy expression for non-trivial copy constructions of catch variables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
4bbcbda302cba8b1b0d88c20d735d09b483bd005 |
|
26-Jan-2011 |
John McCall <rjmccall@apple.com> |
Fix some obvious bugs in the conditional-cleanup code and then make the dtor cleanup use it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
3019c444c672938c57f5573840071ecd73425ee7 |
|
17-Sep-2010 |
John McCall <rjmccall@apple.com> |
When emitting a new-expression inside a conditional expression, the cleanup might not be dominated by the allocation code. In this case, we have to store aside all the delete arguments in case we need them later. There's room for optimization here in cases where we end up not actually needing the cleanup in different branches (or being able to pop it after the initialization code). Also make sure we only call this operator delete along the path where we actually allocated something. Fixes rdar://problem/8439196. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
7d8647f194ae4f2499e5bcd40dcfea34cd21ebc6 |
|
14-Sep-2010 |
John McCall <rjmccall@apple.com> |
Implement the EH cleanup to call 'operator delete' if a new-expression throws (but not if destructors associated with the full-expression throw). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 |
|
15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|
8370c58b9295b32bee50443fe3ac43a47a2047e8 |
|
11-Dec-2009 |
Anders Carlsson <andersca@mac.com> |
When an exception needs to be freed by calling __cxa_exception_free, make sure to stash away the exception pointer somewhere. This fixes an "Instruction does not dominate all uses!" verification error when compiling TableGen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/exceptions.cpp
|