[PATCH] D31053: Do not pass archive files containing non-native object files.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 13:50:31 PDT 2017


pcc added inline comments.


================
Comment at: lld/COFF/Driver.cpp:466
+
+  std::vector<MemoryBufferRef> Old = getArchiveMembers(MBRef);
+  std::vector<NewArchiveMember> New;
----------------
I think you will need to rebuild the archive unconditionally if it is a thin archive because the MSVC linker won't understand thin archives.


https://reviews.llvm.org/D31053





More information about the llvm-commits mailing list