commit | ab0d3a0ab143b1b60c3b6438b9ff649bdef0ffc1 | [log] [tgz] |
---|---|---|
author | Bob Haarman <llvm@inglorion.net> | Fri Apr 21 21:38:01 2017 |
committer | Bob Haarman <llvm@inglorion.net> | Fri Apr 21 21:38:01 2017 |
tree | 23882909aa60966bc3ebd8583577de3c91f41fbd | |
parent | 80a23cc9af8458743033a884cfd1129b3cf5af8d [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@301045 91177308-0d34-0410-b5e6-96231b3b80d8
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.