[all-commits] [llvm/llvm-project] 9c865c: [lld][WebAssembly] Implement --why-extract flag fr...
Sam Clegg via All-commits
all-commits at lists.llvm.org
Thu Jun 1 09:05:30 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: 9c865c230791b111f3df550288ac4f2dc7cb1c51
https://github.com/llvm/llvm-project/commit/9c865c230791b111f3df550288ac4f2dc7cb1c51
Author: Sam Clegg <sbc at chromium.org>
Date: 2023-06-01 (Thu, 01 Jun 2023)
Changed paths:
A lld/test/wasm/why-extract.s
M lld/wasm/Config.h
M lld/wasm/Driver.cpp
M lld/wasm/Options.td
M lld/wasm/SymbolTable.cpp
Log Message:
-----------
[lld][WebAssembly] Implement --why-extract flag from the ELF backend
See https://reviews.llvm.org/D109572 for the original ELF version.
Differential Revision: https://reviews.llvm.org/D145431
(cherry picked from commit 8aef04fa69a2a78fecdbc4d57174d773a7e5f2df)
Commit: 74b5a0af52eb5681d7897d161e0984dbf7b18702
https://github.com/llvm/llvm-project/commit/74b5a0af52eb5681d7897d161e0984dbf7b18702
Author: Sam Clegg <sbc at chromium.org>
Date: 2023-06-01 (Thu, 01 Jun 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
(cherry picked from commit 3111784ff7d3d51a9e981b1a0bbc8f6511c34d25)
Compare: https://github.com/llvm/llvm-project/compare/ad815b672d22...74b5a0af52eb
More information about the All-commits
mailing list