Driver: Sketch FreeBSD tool chain.
 - Patch by Ed Schouten!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68061 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h
index 5e7bdb5..bbb27dc 100644
--- a/lib/Driver/ToolChains.h
+++ b/lib/Driver/ToolChains.h
@@ -26,6 +26,7 @@
   /// all subcommands; this relies on gcc translating the majority of
   /// command line options.
 class VISIBILITY_HIDDEN Generic_GCC : public ToolChain {
+protected:
   mutable llvm::DenseMap<unsigned, Tool*> Tools;
 
 public:
@@ -107,6 +108,14 @@
   virtual const char *GetDefaultRelocationModel() const { return "pic"; }
 };
 
+class VISIBILITY_HIDDEN FreeBSD : public Generic_GCC {
+public:
+  FreeBSD(const HostInfo &Host, const char *Arch, const char *Platform, 
+          const char *OS, bool Lib32);
+
+  virtual Tool &SelectTool(const Compilation &C, const JobAction &JA) const;
+};
+
 } // end namespace toolchains
 } // end namespace driver
 } // end namespace clang