aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorSergey Dmitriev <serguei.n.dmitriev@intel.com>2021-01-05 09:46:55 -0800
committerSergey Dmitriev <serguei.n.dmitriev@intel.com>2021-01-05 10:02:51 -0800
commit761aca1e2e393da62ddaf7c42b61196be2466571 (patch)
tree21650d41ba204322efa4d62dc8949e1da15e7ade /clang/unittests/Frontend/CompilerInvocationTest.cpp
parenta427f15d6070fd50457c553a097e031139b40886 (diff)
downloadllvm-761aca1e2e393da62ddaf7c42b61196be2466571.zip
llvm-761aca1e2e393da62ddaf7c42b61196be2466571.tar.gz
llvm-761aca1e2e393da62ddaf7c42b61196be2466571.tar.bz2
[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
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions