commit | 179ab624bc47dba4c168c9e9525e23b503bc0a2f | [log] [tgz] |
---|---|---|
author | Sam Clegg <sbc@chromium.org> | Thu May 04 16:04:04 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 02 14:25:52 2023 -0700 |
tree | 193dfe6e2bd5bf748f978181f63d18508e6889a8 | |
parent | 7388e2ed6965bd34e71109daafe3692b1f79d789 [diff] |
[lld][WebAssembly] Add --keep-section flag This flag causes wasm-ld preserve a section even in the face of `--strip-all`. This is useful, for example, to preserve the target_features section in the ase of clang (which can run wasm-opt after linking), and emcc (which performs a bunch of post-link work). Fixes: https://github.com/llvm/llvm-project/issues/60613 Fixes: https://github.com/llvm/llvm-project/issues/55781 Differential Revision: https://reviews.llvm.org/D149917 GitOrigin-RevId: 89d5635f0a834e53ac5446c6d6ea38d9166b2a55
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f
.