[clang] [WebAssembly,clang] Add __builtin_wasm_test_function_pointer_signature (PR #150201)

Sam Clegg via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 23 09:18:42 PDT 2025


https://github.com/sbc100 commented:

Nice!   I think we might be able to use this in a few places in emscripten, to avoid jumping through JS.

Kind of interesting that this only takes a single argument.. intuitively I would expect two, but I guess this makes sense.

Would the name `__builtin_wasm_test_function_pointer_type` also make sense?  I'm not sure about `type` or `signature` is commonly used here.



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


More information about the cfe-commits mailing list