aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/HostInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/HostInfo.cpp')
-rw-r--r--lib/Driver/HostInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/HostInfo.cpp b/lib/Driver/HostInfo.cpp
index d43d234c2f..a1dc1496ac 100644
--- a/lib/Driver/HostInfo.cpp
+++ b/lib/Driver/HostInfo.cpp
@@ -175,7 +175,7 @@ ToolChain *UnknownHostInfo::getToolChain(const ArgList &Args,
getPlatformName().c_str(),
getOSName().c_str());
- return 0;
+ return TC;
}
}