1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/tools/llvm-link
Sergey Dmitriev c2e0f985e6 [llvm-link] fix linker behavior when linking archives with --only-needed option
This patch fixes linker behavior when archive is linked with other inputs
as a library (i.e. when --only-needed option is specified). In this case library
is expected to be normally linked first into a separate module and only after
that linker should import required symbols from the linked library module.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D92535
2021-01-05 10:02:51 -08:00
..
CMakeLists.txt [llvm-link] use file magic when deciding if input should be loaded as archive 2020-12-02 17:21:34 -08:00
llvm-link.cpp [llvm-link] fix linker behavior when linking archives with --only-needed option 2021-01-05 10:02:51 -08:00