]> granicus.if.org Git - clang/commit
For i386 kext fallback to llvm-gcc, search paths for several Darwin versions.
authorBob Wilson <bob.wilson@apple.com>
Tue, 20 Sep 2011 22:00:38 +0000 (22:00 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 20 Sep 2011 22:00:38 +0000 (22:00 +0000)
commit8aa76ea4472349e081d046f7b21dc1e54014f335
tree33c4cd8d7accc4557a1d6bed73c0130ddb57dd2b
parent590dd8e0959d8df5621827768987c4792b74fc06
For i386 kext fallback to llvm-gcc, search paths for several Darwin versions.

This replaces the hack to read UNAME_RELEASE from the environment when
identifying the OS version on Darwin, and it's more flexible.  It's also
horribly ugly, but at least this consolidates the ugliness to touch less of
the code so that it will be easier to rip out later.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h