First pass at Solaris toolchain support.  This version compiles and links hello
world on Solaris 11 for both x86 and x86-64 using the built-in assembler and
Solaris (not GNU) ld, however it currently relies on a hard-coded GCC location
to find crtbegin.o and crtend.o, as well as libgcc and libgcc_eh.  



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150580 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index b494ed1..4209c95 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -1663,6 +1663,9 @@
       else
         TC = new toolchains::Linux(*this, Target);
       break;
+    case llvm::Triple::Solaris:
+      TC = new toolchains::Solaris(*this, Target);
+      break;
     case llvm::Triple::Win32:
       TC = new toolchains::Windows(*this, Target);
       break;