theraven
|
c6eede8179
|
GCC-compatibility tweak in EH.
|
14 years ago |
theraven
|
6cea966cad
|
Remove some accidentally-committed debug stuff.
|
14 years ago |
theraven
|
9490b1b84e
|
Implement ARM EH support, fix objc_msgSend() to work on ARM.
|
14 years ago |
theraven
|
8af52846b7
|
Small object (hidden in a pointer) support.
|
15 years ago |
theraven
|
9ef84a982c
|
Remove redundant include.
|
15 years ago |
theraven
|
6c7cf4a5a6
|
Add visibility attributes on all internal functions so that we aren't ever exporting them outside of libobjc.
|
15 years ago |
theraven
|
600e970dea
|
Separate ObjC++ support out into libobjcxx. Now code that doesn't need ObjCXX support can safely ignore it again.
|
15 years ago |
theraven
|
7e465eb325
|
Tweak building without ObjC++ support a bit.
|
15 years ago |
theraven
|
3ccb4240cc
|
Fix getting Objective-C objects out of C++ exceptions.
|
15 years ago |
theraven
|
e0719a9c62
|
Added Objective-C++ exception handling support. Allows throwing Objective-C objects with throw or @throw and catching them with catch() or @catch.
|
15 years ago |
theraven
|
fc28010846
|
...but don't catch foreign exceptions in catch statements for the boxing class's superclass.
|
15 years ago |
theraven
|
4e5578b0be
|
Allow boxed foreign exceptions to be caught in explicit catch statements.
|
15 years ago |
theraven
|
d6455e2a65
|
More EH tweaks. New ABI now uses "@id" for id catches and NULL for catchalls. Code compiled with GCC and clang with the old ABI will continue to use NULL for catchalls and id catches, which means that C++ exceptions will be caught in their boxed form here and must be explicitly rethrown.
|
15 years ago |
theraven
|
45c428f9a3
|
Allow the boxed exception object to rethrow itself, if it knows how. This means that a C++ function can throw a C++ object, we can box it in an ObjC object for passing through Objective-C stack frames, and then unbox it to catch it in C++ code.
|
15 years ago |
theraven
|
943ed5e714
|
Some source tidies.
|
16 years ago |
theraven
|
7ac0904a1f
|
Don't leak memory when throwing exceptions.
|
16 years ago |
theraven
|
7d0d599241
|
Fix handling of cleanups while unwinding for exception throwing.
|
16 years ago |
theraven
|
f4e7a7bf5c
|
Return the correct thing to exception handlers.
|
16 years ago |
theraven
|
f375d20d7a
|
Add support for catching C++ (and Java / Ada) exceptions in Objective-C.
|
16 years ago |
theraven
|
07758fe521
|
Removed last bits of legacy code from libobjc2. Added new exception handling implementation.
|
16 years ago |