hmelder wrote:

> I don't know why the GNUStep runtime needs different ObjC and ObjC++ 
> personality functions

The GNUstep ObjC++ personality function actually just calls  
`__gxx_personality_v0` when libobjc2 is compiled with OBJC++ support (I'm not 
sure if you can even turn it of now as the `NO_OBJCXX` definition seems to be a 
legacy thing, not present in the build system).

We can probably deprecate this definition and emit a call to 
`__gxx_personality_v0`/`__gxx_wasm_personality_v0` directly @davidchisnall .

https://github.com/gnustep/libobjc2/blob/e5c06e3be8895007bcc7be58cbeccac2a5a89eff/eh_personality.c#L575-L604

https://github.com/llvm/llvm-project/pull/169043
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to