Home
last modified time | relevance | path

Searched refs:SysRoot (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Driver/
DCrossWindowsToolChain.cpp23 const std::string &SysRoot = D.SysRoot; in CrossWindowsToolChain() local
27 getFilePaths().push_back(SysRoot + "/usr/lib"); in CrossWindowsToolChain()
28 getFilePaths().push_back(SysRoot + "/usr/lib/gcc"); in CrossWindowsToolChain()
54 const std::string &SysRoot = D.SysRoot; in AddClangSystemIncludeArgs() local
59 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
65 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
72 const std::string &SysRoot = getDriver().SysRoot; in AddClangCXXStdlibIncludeArgs() local
80 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
84 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++"); in AddClangCXXStdlibIncludeArgs()
86 SysRoot + "/usr/include/c++/" + Triple.str()); in AddClangCXXStdlibIncludeArgs()
[all …]
DToolChains.cpp1348 if (!D.SysRoot.empty()) { in init()
1349 Prefixes.push_back(D.SysRoot); in init()
1350 Prefixes.push_back(D.SysRoot + "/usr"); in init()
1357 if (D.SysRoot.empty()) in init()
1645 CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda"); in init()
1646 CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-7.5"); in init()
1647 CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-7.0"); in init()
2488 if (!getDriver().SysRoot.empty()) in computeSysRoot()
2489 return getDriver().SysRoot + SelectedMultilib.osSuffix(); in computeSysRoot()
3029 getDriver().SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
[all …]
DMinGWToolChain.cpp70 if (getDriver().SysRoot.size()) in MinGW()
71 Base = getDriver().SysRoot; in MinGW()
DCompilation.cpp237 return getDriver().SysRoot; in getSysRoot()
DTools.cpp6793 if (!D.SysRoot.empty()) in ConstructJob()
6794 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
7866 if (!D.SysRoot.empty()) in ConstructJob()
7867 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
8114 if (!D.SysRoot.empty()) in ConstructJob()
8115 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
8741 if (!D.SysRoot.empty()) in ConstructJob()
8742 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
8969 if (!D.SysRoot.empty()) in ConstructJob()
8970 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
[all …]
DDriver.cpp55 SysRoot(DEFAULT_SYSROOT), UseStdLib(true), in Driver()
464 SysRoot = A->getValue(); in BuildCompilation()
2133 SmallString<128> P(Dir[0] == '=' ? SysRoot + Dir.substr(1) : Dir); in GetFilePath()
2147 SmallString<128> P(Dir[0] == '=' ? SysRoot + Dir.substr(1) : Dir); in GetFilePath()
/external/clang/lib/Frontend/
DDependencyGraph.cpp32 std::string SysRoot; member in __anon7c4ba1fc0111::DependencyGraphCallback
46 StringRef SysRoot) in DependencyGraphCallback() argument
47 : PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { } in DependencyGraphCallback()
63 StringRef SysRoot) { in AttachDependencyGraphGen() argument
65 SysRoot)); in AttachDependencyGraphGen()
117 if (FileName.startswith(SysRoot)) in OutputGraphFile()
118 FileName = FileName.substr(SysRoot.size()); in OutputGraphFile()
/external/clang/include/clang/Frontend/
DUtils.h146 StringRef SysRoot);
/external/clang/include/clang/Driver/
DDriver.h120 std::string SysRoot; variable