[all-commits] [llvm/llvm-project] 311178: [lld][WebAssembly] Initial support for stub libraries
Sam Clegg via All-commits
all-commits at lists.llvm.org
Thu Mar 23 14:26:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3111784ff7d3d51a9e981b1a0bbc8f6511c34d25
https://github.com/llvm/llvm-project/commit/3111784ff7d3d51a9e981b1a0bbc8f6511c34d25
Author: Sam Clegg <sbc at chromium.org>
Date: 2023-03-23 (Thu, 23 Mar 2023)
Changed paths:
M lld/docs/WebAssembly.rst
A lld/test/wasm/Inputs/libstub-missing-dep.so
A lld/test/wasm/Inputs/libstub-missing-sym.so
A lld/test/wasm/Inputs/libstub.so
A lld/test/wasm/stub_library.s
M lld/wasm/Driver.cpp
M lld/wasm/InputFiles.cpp
M lld/wasm/InputFiles.h
M lld/wasm/Relocations.cpp
M lld/wasm/SymbolTable.cpp
M lld/wasm/SymbolTable.h
M lld/wasm/Symbols.cpp
M lld/wasm/Symbols.h
M lld/wasm/Writer.cpp
Log Message:
-----------
[lld][WebAssembly] Initial support for stub libraries
See the docs in lld/docs/WebAssembly.rst for more on this.
This feature unlocks a lot of simplification in the emscripten toolchain
since we can represent the JS libraries to wasm-ld as stub libraries.
See https://github.com/emscripten-core/emscripten/issues/18875
Differential Revision: https://reviews.llvm.org/D145308
More information about the All-commits
mailing list