PATCH: suppress warnings in llvm-link

Eli Bendersky eliben at google.com
Thu Feb 6 09:32:36 PST 2014


Hello,

Attaching a patch that adds a -suppress-warnings flag to the LLVM bitcode
linker, with the expected effect.

The option is currently added directly into LinkModules.cpp; an alternative
would be to add it to llvm-link.cpp, but then it would have to be
percolated down to ModuleLinker through Linker etc. I can modify the patch
to take that path, if that's deemed better. If the warning goes into
llvm-link.cpp, it may also make sense to turn it to "-w" to be just like in
Clang.

PTAL,

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140206/904f8417/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-link-suppress-warnings.1.patch
Type: text/x-patch
Size: 2614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140206/904f8417/attachment.bin>


More information about the llvm-commits mailing list