diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-02 05:43:56 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-02 05:43:56 +0000 |
commit | 4180011fb8cef06adec04d30486b1bf3b99aa8b8 (patch) | |
tree | 1d8d04550c254820bac18ca8a49990d6e48966fa /lib/Driver/Driver.cpp | |
parent | 74edcea3db1f85ba73ad0fede2ed5e2f096cac4b (diff) |
Driver: Move HostInfo::lookupTypeForExtension to ToolChain::LookupTypeForExtension.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index e28b2bc6ed..7fbbe0b838 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -662,7 +662,7 @@ void Driver::BuildActions(const ToolChain &TC, const ArgList &Args, // found. We use a host hook here because Darwin at least has its own // idea of what .s is. if (const char *Ext = strrchr(Value, '.')) - Ty = Host->lookupTypeForExtension(Ext + 1); + Ty = TC.LookupTypeForExtension(Ext + 1); if (Ty == types::TY_INVALID) Ty = types::TY_Object; |