]> granicus.if.org Git - clang/commit
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)
commite8b35e1a75b0044239b1ac7b476d66352fafcb02
tree76f00ce8026044498d3d98ba877d96cda9324f10
parent7b183ffd3e099f59fd5b7e50756786c30cb85b51
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213198 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/Xlinker-args.c