[PATCH] D17998: [ELF] implement --warn-common/--no-warn-common
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 09:52:48 PST 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.
-warn-common
Warn when a common symbol is combined with another common symbol
or with a symbol definition. Unix linkers allow this somewhat
sloppy practice, but linkers on some other operating systems do
not. This option allows you to find potential problems from
combining global symbols.
This should fix the the https://llvm.org/bugs/show_bug.cgi?id=26737
http://reviews.llvm.org/D17998
Files:
ELF/Config.h
ELF/Driver.cpp
ELF/Options.td
ELF/Symbols.cpp
test/ELF/Inputs/warn-common.s
test/ELF/Inputs/warn-common2.s
test/ELF/warn-common.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17998.50153.patch
Type: text/x-patch
Size: 3866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160309/924fd4fc/attachment.bin>
More information about the llvm-commits
mailing list