[PATCH] D37709: [LLD] [COFF] Add support for the -wholearchive option

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 14:19:26 PDT 2017


mstorsjo added inline comments.


================
Comment at: COFF/Driver.cpp:233
       if (Optional<StringRef> Path = findLib(Arg->getValue()))
-        enqueuePath(*Path);
+        enqueuePath(*Path, false);
       break;
----------------
pcc wrote:
> Are you sure that `/wholearchive` has no effect on archives specified by linker directives?
No, I can try to construct a test to figure out how it's supposed to behave.


https://reviews.llvm.org/D37709





More information about the llvm-commits mailing list