[all-commits] [llvm/llvm-project] ae4e71: [MC][WebAssembly] Allow strings for import modules...
Sy Brand via All-commits
all-commits at lists.llvm.org
Fri Mar 6 12:43:30 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae4e71241f0323ba3ceecc9922713628b2d9c967
https://github.com/llvm/llvm-project/commit/ae4e71241f0323ba3ceecc9922713628b2d9c967
Author: Sy Brand <sy.brand at fastly.com>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
M llvm/test/CodeGen/WebAssembly/export-name.ll
M llvm/test/CodeGen/WebAssembly/import-module.ll
M llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
M llvm/test/MC/WebAssembly/export-name-invalid.s
M llvm/test/MC/WebAssembly/export-name.s
M llvm/test/MC/WebAssembly/import-module-invalid.s
M llvm/test/MC/WebAssembly/import-module.s
M llvm/test/MC/WebAssembly/import-name-invalid.s
Log Message:
-----------
[MC][WebAssembly] Allow strings for import modules and names in asm (#182896)
Current tooling for the WebAssembly component model uses import modules
and names such as `$root` and `[thread-index]`. Importing these from
assembly files requires support for non-valid identifiers in
`.import_name` and `.import_module` directives. This PR adds support for
specifying those as strings, e.g.:
```asm
.import_module __wasm_component_model_builtin_thread_index, "$root"
.import_name __wasm_component_model_builtin_thread_index, "[thread-index]"
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list