QuantumSegfault wrote:

> Are you planning to submit patches for this?

I'd be fine with doing the PR, once we figure out the direction (i.e. like this 
PR was not satisfactory)

> Given that _Unwind_CallPersonality is mostly a wrapper from our libunwind, 
> making it a personality function within the bitcode signature seems a little 
> awkward though. As I said the benefit of having it is we can save some 
> instructions per catch site.

Which is why I'm saying why not merge `_Unwind_CallPersonality` down into 
`__gxx_wasm_personality_v0`. Make it so personality functions on Wasm take a 
single pointer to the EH object, and are expected to initialize the landing pad 
context. We keep the small code size, at the cost of breaking/changing the ABI?

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

Reply via email to