[PATCH] D32317: [coff] for /msvclto, pass archive members with prevailing symbols first

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 13:01:01 PDT 2017


inglorion added inline comments.


================
Comment at: test/COFF/msvclto-order.ll:12
+; CHECK-NOT: .lib{{$}}
+; CHECK: lld-msvclto-order-a{{.*}}.obj
+; CHECK: .lib{{$}}
----------------
pcc wrote:
> `CHECK-NOT: lld-msvclto-order-b`?
We actually still pass the library, so that check would fail. We could add some code to not pass libraries, but I'm not sure that's always correct, so I decided to not make that effort and just keep the library path in the list of things to be passed to MSVC's linker, even if we don't expect any objects in that library to be used in the link.


https://reviews.llvm.org/D32317





More information about the llvm-commits mailing list