[all-commits] [llvm/llvm-project] 4ae575: [WebAssembly] Deduplicate imports of the same modu...
Nick Fitzgerald via All-commits
all-commits at lists.llvm.org
Mon Jul 19 13:59:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4ae575b9997e0903d1c2ec01a43e3f3f2db5df16
https://github.com/llvm/llvm-project/commit/4ae575b9997e0903d1c2ec01a43e3f3f2db5df16
Author: Nick Fitzgerald <fitzgen at gmail.com>
Date: 2021-07-19 (Mon, 19 Jul 2021)
Changed paths:
A lld/test/wasm/duplicate-function-imports.s
A lld/test/wasm/duplicate-global-imports.s
A lld/test/wasm/duplicate-table-imports.s
M lld/wasm/SyntheticSections.cpp
M lld/wasm/SyntheticSections.h
M llvm/include/llvm/BinaryFormat/Wasm.h
M llvm/include/llvm/BinaryFormat/WasmTraits.h
Log Message:
-----------
[WebAssembly] Deduplicate imports of the same module name, field name, and type
When two symbols import the same thing, only one import should be emitted in the Wasm file.
Fixes https://bugs.llvm.org/show_bug.cgi?id=50938
Reviewed By: sbc100
Differential Revision: https://reviews.llvm.org/D105519
More information about the All-commits
mailing list