[cfe-commits] r93749 - in /cfe/trunk: lib/Driver/ToolChains.cpp test/Driver/darwin-arm.c
Daniel Dunbar
daniel at zuster.org
Mon Jan 18 11:16:54 PST 2010
Author: ddunbar
Date: Mon Jan 18 13:16:53 2010
New Revision: 93749
URL: http://llvm.org/viewvc/llvm-project?rev=93749&view=rev
Log:
Remove ../libexec from clang program search path, clang-cc is dead.
Removed:
cfe/trunk/test/Driver/darwin-arm.c
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=93749&r1=93748&r2=93749&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Mon Jan 18 13:16:53 2010
@@ -118,10 +118,6 @@
Path += ToolChainDir;
getProgramPaths().push_back(Path);
- Path = getDriver().Dir;
- Path += "/../libexec";
- getProgramPaths().push_back(Path);
-
getProgramPaths().push_back(getDriver().Dir);
}
@@ -235,13 +231,6 @@
bool IsIPhoneOS)
: Darwin(Host, Triple, DarwinVersion, IsIPhoneOS)
{
- // Add the relative libexec dir (for clang-cc).
- //
- // FIXME: We should sink clang-cc into libexec/clang/<version>/.
- std::string Path = getDriver().Dir;
- Path += "/../libexec";
- getProgramPaths().push_back(Path);
-
// We expect 'as', 'ld', etc. to be adjacent to our install dir.
getProgramPaths().push_back(getDriver().Dir);
}
@@ -544,10 +533,6 @@
Generic_GCC::Generic_GCC(const HostInfo &Host, const llvm::Triple& Triple)
: ToolChain(Host, Triple) {
- std::string Path(getDriver().Dir);
- Path += "/../libexec";
- getProgramPaths().push_back(Path);
-
getProgramPaths().push_back(getDriver().Dir);
}
@@ -684,11 +669,6 @@
AuroraUX::AuroraUX(const HostInfo &Host, const llvm::Triple& Triple)
: Generic_GCC(Host, Triple) {
- // Path mangling to find libexec
- std::string Path(getDriver().Dir);
-
- Path += "/../libexec";
- getProgramPaths().push_back(Path);
getProgramPaths().push_back(getDriver().Dir);
getFilePaths().push_back(getDriver().Dir + "/../lib");
@@ -753,10 +733,6 @@
: Generic_GCC(Host, Triple) {
// Path mangling to find libexec
- std::string Path(getDriver().Dir);
-
- Path += "/../libexec";
- getProgramPaths().push_back(Path);
getProgramPaths().push_back(getDriver().Dir);
getFilePaths().push_back(getDriver().Dir + "/../lib");
Removed: cfe/trunk/test/Driver/darwin-arm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/darwin-arm.c?rev=93748&view=auto
==============================================================================
--- cfe/trunk/test/Driver/darwin-arm.c (original)
+++ cfe/trunk/test/Driver/darwin-arm.c (removed)
@@ -1,4 +0,0 @@
-// RUN: %clang -ccc-host-triple i386-apple-darwin9 -arch arm -print-search-dirs | FileCheck %s
-
-// Check that we look in the relative libexec directory.
-// CHECK: {{programs: =.*/../libexec:}}
More information about the cfe-commits
mailing list