Remove an warning message that can be spammy.
This was intended to warn on a usage error of an ar command. I was thinking that false positive would be rare because it has two guards: it warns only when an archive file has no symbols and contains at least one file. Turned out that false positive would probably be not that rare. You wouldn't intentionally create an object file that contains no exported symbols, but with conditional compile guards, you could create such file. If it is for a LTO build, you could create an archive file containing such file. That means there's no way to detect the usage error in a reliable manner. This patch simply removes the warning. llvm-svn: 282916
Loading
Please register or sign in to comment