[lld] [llvm] [WebAssembly] Require tags for Wasm EH and Wasm SJLJ to be defined externally (PR #159143)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 18 16:54:26 PDT 2025


================
@@ -249,13 +249,6 @@ MCSymbol *WebAssemblyAsmPrinter::getOrCreateWasmSymbol(StringRef Name) {
   SmallVector<wasm::ValType, 4> Params;
   if (Name == "__cpp_exception" || Name == "__c_longjmp") {
----------------
dschuff wrote:

I guess this means we are still special casing the symbol types for these symbols based on their name, right? How does this relate to the `.tagtype` asm directive? I guess that doesn't set the symbol type, it just sets the signature of the tag itself?

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


More information about the llvm-commits mailing list