[all-commits] [llvm/llvm-project] 9f049e: [lld][WebAssemby] Allow import module names to be ...

Dan Gohman via All-commits all-commits at lists.llvm.org
Wed Aug 31 15:31:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f049e999308c43360fbe1513a772b818745addb
      https://github.com/llvm/llvm-project/commit/9f049e999308c43360fbe1513a772b818745addb
  Author: Dan Gohman <dev at sunfishcode.online>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M lld/test/wasm/import-module.ll
    M lld/test/wasm/import-name.ll
    M llvm/lib/Object/WasmObjectFile.cpp

  Log Message:
  -----------
  [lld][WebAssemby] Allow import module names to be empty strings.

The component-model [canonical ABI] is currently using import names with
empty strings. Remove the special cases for empty strings from
WasmObjectFile.cpp so that they can pass through as-is.

[canonical ABI]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md

Differential Revision: https://reviews.llvm.org/D133037




More information about the All-commits mailing list