aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-04-21 21:38:01 +0000
committerBob Haarman <llvm@inglorion.net>2017-04-21 21:38:01 +0000
commit4110816253a81ad8774edc684024f09780cc6673 (patch)
tree3719858839b706833f7138c14d0d953c8dff26d6 /llvm/lib/Support/DynamicLibrary.cpp
parentc07bda7b8788b80dff43ab2f5827f7e7224fc64b (diff)
downloadllvm-4110816253a81ad8774edc684024f09780cc6673.zip
llvm-4110816253a81ad8774edc684024f09780cc6673.tar.gz
llvm-4110816253a81ad8774edc684024f09780cc6673.tar.bz2
[coff] for /msvclto, pass archive members with prevailing symbols first
Summary: When using /msvclto, lld and MSVC's linker both do their own symbol resolution. This can cause them to select different archive members, which can result in undefined references. This change avoids that situation by extracting archive members that are selected by lld and passing those to link.exe before any archives, so that MSVC's uses those objects for symbol resolution instead of different archive members. Reviewers: pcc, rnk, ruiu Reviewed By: pcc Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D32317 llvm-svn: 301045
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions