[clang] [lldb] [WebAssembly][Clang] Give wasm tables their own type in clang AST (PR #205817)

Hood Chatham via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 26 02:17:20 PDT 2026


hoodmane wrote:

And the other WASM_GLOBALS are actual wasm globals. This has some appeal for sure.

It's worth pointing out that a normal wasm global has no address but is otherwise a first class C value that can be used anywhere a normal term of that type can be used. Whereas tables are immediates and can only be used as direct arguments to table built-ins. So it is a bit of a judgement call whether we think it makes sense.

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


More information about the cfe-commits mailing list