//===--- ToolChains.cpp - ToolChain Implementations ---------------------*-===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===//#include"ToolChains.h"#include"clang/Driver/Arg.h"#include"clang/Driver/ArgList.h"#include"clang/Driver/Compilation.h"#include"clang/Driver/Driver.h"#include"clang/Driver/DriverDiagnostic.h"#include"clang/Driver/HostInfo.h"#include"clang/Driver/OptTable.h"#include"clang/Driver/Option.h"#include"clang/Driver/Options.h"#include"clang/Basic/Version.h"#include"llvm/ADT/SmallString.h"#include"llvm/ADT/StringExtras.h"#include"llvm/Support/ErrorHandling.h"#include"llvm/Support/MemoryBuffer.h"#include"llvm/Support/raw_ostream.h"#include"llvm/Support/Path.h"#include"llvm/Support/system_error.h"#include<cstdlib> // ::getenvusingnamespace