[clang] [Clang][WebAssembly] Fix crash when using __funcref in C++ code (PR #176237)

Paulo Matos via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 19 00:22:31 PST 2026


pmatos wrote:

> I assume enabling this mangler doesn't change the mangling of any symbols not in addrspace 0?

This doesn't change the mangling of anything except funcref which before was hitting an llvm_unreachable. externref mangling stays the same as well as everything else. This just ensures we can mangle function pointers to addrspace 20, so mangling will look like: `PU4AS20FvvE`.

https://github.com/llvm/llvm-project/pull/176237


More information about the cfe-commits mailing list