diff options
author | Sam Clegg <sbc@chromium.org> | 2019-12-19 17:23:59 -0800 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2020-01-10 11:01:05 -0800 |
commit | 9cd985815abf88bd77bb67f7b9cc80f2032cbbc7 (patch) | |
tree | da4f5bddae365f87675670ecf688765532539342 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | b590e0fd810e4caf59ab83b04654d42e18faaafb (diff) | |
download | bcm5719-llvm-9cd985815abf88bd77bb67f7b9cc80f2032cbbc7.tar.gz bcm5719-llvm-9cd985815abf88bd77bb67f7b9cc80f2032cbbc7.zip |
[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
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions