summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable for now, doesn't play nice with the temporary code.Mike Stump2009-12-041-1/+5
| | | | llvm-svn: 90537
* Fixup reference binding for catch parameters.Mike Stump2009-12-041-6/+21
| | | | | | Fixup throws and rethrows to use invoke as appropriate. llvm-svn: 90513
* These are done.Mike Stump2009-12-031-2/+0
| | | | llvm-svn: 90494
* Improve catch parameter bindings for scalar non-pointers. WIP.Mike Stump2009-12-031-4/+8
| | | | llvm-svn: 90492
* Reflow.Mike Stump2009-12-031-1/+3
| | | | llvm-svn: 90407
* Remove untrue statement.Mike Stump2009-12-031-3/+0
| | | | llvm-svn: 90377
* Cleanups on exceptional edges don't work at all, yet. This doesn'tMike Stump2009-12-021-5/+0
| | | | | | | catch very many of them and if we caught all of them, the errors would be annoying. I'm working on this next. WIP. llvm-svn: 90358
* Add a cleanup scope for each catch clause.Mike Stump2009-12-021-15/+19
| | | | llvm-svn: 90357
* Pull the terminate handler up so that we can use it for the catchMike Stump2009-12-021-35/+31
| | | | | | | parameter setup code and set up the catch parameter setup code to protect that code with terminate. llvm-svn: 90340
* Change rtti/Rtti to RTTI, as it is an acronym.Mike Stump2009-12-021-2/+3
| | | | llvm-svn: 90334
* Avoid warning for getTerminateFn defined but not used.Mike Stump2009-12-021-9/+3
| | | | llvm-svn: 90330
* terminate doesn't throw.Mike Stump2009-12-021-0/+1
| | | | llvm-svn: 90308
* More exception handling improvements... WIP.Mike Stump2009-12-021-30/+71
| | | | | | | | | | | Highlights include: Add a helper to generate __cxa_free_exception and _ZSt9terminatev. Add a region to handle EH object deallocation for ctor failures for throw. Add a terminate handler for __cxa_end_catch. A framework for adding cleanup actions for the exceptional edges only. llvm-svn: 90305
* Much work on try/catch statement. WIP.Mike Stump2009-12-011-69/+250
| | | | | | | | | | | | | | | | | Highlights include: Fix __cxa_begin_catch so it now returns a value. Added getUnwindResumeOrRethrowFn helper to build up calls to _Unwind_Resume_or_Rethrow. Broke out object copying code into CopyObject from EmitCXXThrowExpr. Built up another version of CopyObject that can copy from memory for use in the catch parameter code. RTTI generation for type matching for catch. Code to check for the type match for catch. Code to generate the catch parameter, WIP, need make sure references and pointers and copy ctors work. llvm-svn: 90205
* Checkpoint current work. WIP.Mike Stump2009-11-201-2/+126
| | | | llvm-svn: 89513
* Implement throw d, where d is a class type that requires copyMike Stump2009-11-201-2/+22
| | | | | | construction. WIP. llvm-svn: 89442
* Handle throw d, where d is a class type but only has a trivial copyMike Stump2009-11-201-8/+9
| | | | | | constructor. WIP. llvm-svn: 89438
* Add suport for throw;. WIP.Mike Stump2009-11-201-4/+16
| | | | llvm-svn: 89424
* Fix rtti generation for throws. WIP.Mike Stump2009-11-201-9/+1
| | | | llvm-svn: 89420
* Get throws limping along, still a bunch of FIXMEs. Too bad we don't support ↵Anders Carlsson2009-10-301-1/+86
| | | | | | catching anything yet :) llvm-svn: 85574
* Add CGException.cpp, to be used for exception related code generation.Anders Carlsson2009-10-301-0/+20
llvm-svn: 85560
OpenPOWER on IntegriCloud