[all-commits] [llvm/llvm-project] 761aca: [llvm-link] fix linker behavior when linking archi...
Sergey Dmitriev via All-commits
all-commits at lists.llvm.org
Tue Jan 5 10:09:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 761aca1e2e393da62ddaf7c42b61196be2466571
https://github.com/llvm/llvm-project/commit/761aca1e2e393da62ddaf7c42b61196be2466571
Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
Date: 2021-01-05 (Tue, 05 Jan 2021)
Changed paths:
A llvm/test/tools/llvm-link/Inputs/i.ll
A llvm/test/tools/llvm-link/archive-only-needed.ll
M llvm/tools/llvm-link/llvm-link.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list