diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-26 07:52:18 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-26 07:52:18 +0000 |
commit | 6b3454a219cee5ef36c4668961f93a5c32deab61 (patch) | |
tree | ddd26b14b27011ba21a72947f8e7d836b8b8f743 /lib/Driver/Driver.cpp | |
parent | 6dde78f744382a5627a04f984a97049e0c4b5e73 (diff) |
Fix for PR4140: Add the start of a Linux toolchain (basically, just
barely enough to get the given usage of -print-file-name working).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 76dc46cfa8..d9a2c2c393 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -1161,6 +1161,8 @@ const HostInfo *Driver::GetHostInfo(const char *TripleStr) const { return createDragonFlyHostInfo(*this, Triple); case llvm::Triple::FreeBSD: return createFreeBSDHostInfo(*this, Triple); + case llvm::Triple::Linux: + return createLinuxHostInfo(*this, Triple); default: return createUnknownHostInfo(*this, Triple); } |