[clang] [lld] [llvm] [WebAssembly] Emit constant initializers for addrspace(1) globals (PR #212007)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 16:59:53 PDT 2026


https://github.com/dschuff commented:

Agree with @kateinoigakukun . Also, attaching the initializer directly to MCSymbolWasm just completely bypasses the asm text format.  All the other MCSymbolWasm attributes (emitGlobalType et al) stream a directive via WebAssemblyTargetStreamer and have matching parser support in WebAssemblyAsmParser.cpp. We need to be able to write tests that go from ll -> .s and then .s -> obj2yaml and/or objdump separately.

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


More information about the llvm-commits mailing list