#include "Hurd.h"
#include "CommonArgs.h"
#include "clang/Config/config.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/Options.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/VirtualFileSystem.h"
usingnamespaceclang::driver;
usingnamespaceclang::driver::toolchains;
usingnamespaceclang;
usingnamespacellvm::opt;
addPathIfExists;
std::string Hurd::getMultiarchTriple(const Driver &D,
const llvm::Triple &TargetTriple,
StringRef SysRoot) const { … }
static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) { … }
Hurd::Hurd(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
: … { … }
bool Hurd::HasNativeLLVMSupport() const { … }
Tool *Hurd::buildLinker() const { … }
Tool *Hurd::buildAssembler() const { … }
std::string Hurd::getDynamicLinker(const ArgList &Args) const { … }
void Hurd::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
ArgStringList &CC1Args) const { … }
void Hurd::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const { … }
void Hurd::addExtraOpts(llvm::opt::ArgStringList &CmdArgs) const { … }