[PATCH] D47565: Fix /WholeArchive bug.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 12:48:34 PDT 2018


rnk added inline comments.


================
Comment at: lld/trunk/COFF/Driver.cpp:1249-1250
+  std::set<sys::fs::UniqueID> WholeArchives;
+  for (auto *Arg : Args.filtered(OPT_wholearchive_file))
+    if (Optional<sys::fs::UniqueID> ID = getUniqueID(Arg->getValue()))
+      WholeArchives.insert(*ID);
----------------
We forgot to call `findFile` here. I'll go ahead and fix that. This caused https://crbug.com/852679


Repository:
  rL LLVM

https://reviews.llvm.org/D47565





More information about the llvm-commits mailing list