Typically linker options are protected with -Xlinker or -Wl,
authorArthur Marble <arthur@info9.net>
Wed, 16 Jul 2014 21:16:16 +0000 (21:16 +0000)
committerArthur Marble <arthur@info9.net>
Wed, 16 Jul 2014 21:16:16 +0000 (21:16 +0000)
commit31fb6f473006f3e1c61e8a118a10983ef48bd213
tree927f301624ba313e8c3e6c4b367eeead1f66818f
parentab60d04363bf9aac9f4754ab91d0ab520f30ae79
Typically linker options are protected with -Xlinker or -Wl,
however certain sloppy Makefiles pass -z options directly to
the compiler. This patch enables clang to recognize these
options (because -z is not used by clang itself).

llvm-svn: 213198
clang/include/clang/Driver/Options.td
clang/lib/Driver/Tools.cpp
clang/test/Driver/Xlinker-args.c