It seems pointless to add a resource to an archive because it won't have any symbols to link against (and link.exe doesn't have an equivalent of --whole-archive), but lib.exe allows it for some reason. llvm-svn: 289859
Fixes PR31372. Differential Revision: https://reviews.llvm.org/D27776 llvm-svn: 289726
llvm-svn: 240203