diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2011-09-20 22:00:38 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2011-09-20 22:00:38 +0000 |
| commit | 3e42bc55db0c3ffba5ee7085529944934be2993d (patch) | |
| tree | 9552f7215550fa5f6214a4c88ce73332e14e068d /clang/lib/Driver/ToolChains.h | |
| parent | 60aa85b672fcf58e340be64c9d01b212855f6ddb (diff) | |
| download | bcm5719-llvm-3e42bc55db0c3ffba5ee7085529944934be2993d.tar.gz bcm5719-llvm-3e42bc55db0c3ffba5ee7085529944934be2993d.zip | |
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.
llvm-svn: 140187
Diffstat (limited to 'clang/lib/Driver/ToolChains.h')
| -rw-r--r-- | clang/lib/Driver/ToolChains.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h index c7771170b83..c9ff3a0473d 100644 --- a/clang/lib/Driver/ToolChains.h +++ b/clang/lib/Driver/ToolChains.h @@ -262,6 +262,9 @@ public: /// DarwinClang - The Darwin toolchain used by Clang. class LLVM_LIBRARY_VISIBILITY DarwinClang : public Darwin { +private: + void AddGCCLibexecPath(unsigned darwinVersion); + public: DarwinClang(const HostInfo &Host, const llvm::Triple& Triple); |

