summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-10-07 15:48:01 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-10-07 15:48:01 +0000
commitd45b205ed1a1f83529929de88feb0e63e5a27649 (patch)
treed355dfffae731b55c86792bf0f103efaf6bb9f6b /clang/lib/Driver/Tools.cpp
parentfd3a3b3f291cb93d6779a0c0670a43d97579ab99 (diff)
downloadbcm5719-llvm-d45b205ed1a1f83529929de88feb0e63e5a27649.tar.gz
bcm5719-llvm-d45b205ed1a1f83529929de88feb0e63e5a27649.zip
[VFS] Port driver tool chains to VFS.
There are still some loose ends here but it's sufficient so we can detect GCC headers that are inside of a VFS. llvm-svn: 249556
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 649f90784e9..26e767f54a6 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -5955,8 +5955,7 @@ constructHexagonLinkArgs(Compilation &C, const JobAction &JA,
const std::string MarchSuffix = "/" + MarchString;
const std::string G0Suffix = "/G0";
const std::string MarchG0Suffix = MarchSuffix + G0Suffix;
- const std::string RootDir =
- toolchains::HexagonToolChain::GetGnuDir(D.InstalledDir, Args) + "/";
+ const std::string RootDir = ToolChain.GetGnuDir(D.InstalledDir, Args) + "/";
const std::string StartFilesDir =
RootDir + "hexagon/lib" + (useG0 ? MarchG0Suffix : MarchSuffix);
OpenPOWER on IntegriCloud