The clang driver has a fairly fancy support for executing gcc instead of
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 9 Oct 2012 20:46:28 +0000 (20:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 9 Oct 2012 20:46:28 +0000 (20:46 +0000)
commitfc3fc0c9362ac3efd347f2c48d61bba479503f2d
treec5fa10176ac42886fe90b729ad12067aae03b5b1
parent2f7bf410916df36428076f135defb0262423b273
The clang driver has a fairly fancy support for executing gcc instead of
clang itself. This dates back to clang's early days and while it looks like
some of it is still used (for kext for example), other parts are probably dead.

Remove the -ccc-clang-archs option and associated code. I don't think there
is any remaining setup where clang doesn't support an architecture but it can
expect an working gcc cross compiler to be available.

A nice side effect is that tests no longer need to differentiate architectures
that are included in production builds of clang and those that are not.

llvm-svn: 165545
24 files changed:
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/Driver.h
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/CodeGen/mips-byval-arg.c
clang/test/CodeGen/mips-clobber-reg.c
clang/test/CodeGen/mips-constraint-regs.c
clang/test/CodeGen/mips-vector-arg.c
clang/test/CodeGen/mips-vector-return.c
clang/test/CodeGen/mips64-class-return.cpp
clang/test/CodeGen/mips64-f128-literal.c
clang/test/CodeGen/mips64-nontrivial-return.cpp
clang/test/CodeGen/mips64-padding-arg.c
clang/test/Driver/altivec.cpp
clang/test/Driver/bindings.c
clang/test/Driver/clang-translation.c
clang/test/Driver/freebsd.c
clang/test/Driver/gcc_forward.c
clang/test/Driver/le32-unknown-nacl.cpp
clang/test/Driver/linux-header-search.cpp
clang/test/Driver/linux-ld.c
clang/test/Driver/mips-float.c
clang/test/Driver/openbsd.c
clang/test/Misc/warning-flags.c