[all-commits] [llvm/llvm-project] 9cd985: [lld][WebAssembly] Add libcall symbols to the link...
Sam Clegg via All-commits
all-commits at lists.llvm.org
Fri Jan 10 11:03:23 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9cd985815abf88bd77bb67f7b9cc80f2032cbbc7
https://github.com/llvm/llvm-project/commit/9cd985815abf88bd77bb67f7b9cc80f2032cbbc7
Author: Sam Clegg <sbc at chromium.org>
Date: 2020-01-10 (Fri, 10 Jan 2020)
Changed paths:
A lld/test/wasm/lto/Inputs/libcall-archive.ll
A lld/test/wasm/lto/libcall-archive.ll
M lld/wasm/Driver.cpp
M lld/wasm/InputFiles.h
M lld/wasm/Symbols.cpp
M lld/wasm/Symbols.h
Log Message:
-----------
[lld][WebAssembly] Add libcall symbols to the link when LTO is being used.
This code is copied almost verbatim from the equivalent change to the
ELF linker:
- https://reviews.llvm.org/D50017
- https://reviews.llvm.org/D50475
The upshot is that libraries containing libcall (such as compiler-rt
and libc) can be compiled with LTO.
Fixes PR41384
Differential Revision: https://reviews.llvm.org/D71738
More information about the All-commits
mailing list