Closed qmfrederik closed 4 months ago
Also fixes the visibility of objc_alloc
, objc_allocWithZone
and objc_allocInit
- https://github.com/gnustep/libobjc2/pull/277#issuecomment-1939214893
Also removes the weak annotation on functions in objcxx_eh.h
- https://github.com/gnustep/libobjc2/pull/279/files#r1492653201
Twin commit in the clang repo: https://github.com/llvm/llvm-project/commit/10db940979c2753ef547956e6b94f610df6a84fe
@davidchisnall Would you mind reviewing this and let me know what you think?
The current implementation uses functions which are declared in the C++ standard library to throw and catch exceptions. This requires linking with said library, which most toolchains do not do natively.