[PATCH] D35797: [ELF] - Implement --warn-once.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 06:24:41 PDT 2017
grimar created this revision.
Herald added a subscriber: emaste.
--warn-once is a option supported by ld.bfd which is:
--warn-once
Only warn once for each undefined symbol, rather than once per module which refers to it.
Reporting undefined symbol only once seems useful feature, that is why I implemented it.
(FWIW gold does not seem to support it).
https://reviews.llvm.org/D35797
Files:
ELF/Config.h
ELF/Driver.cpp
ELF/Options.td
ELF/Relocations.cpp
ELF/Symbols.cpp
ELF/Symbols.h
test/ELF/warn-once.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35797.107895.patch
Type: text/x-patch
Size: 3689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170724/205a9295/attachment.bin>
More information about the llvm-commits
mailing list