commit | 62123a12f163246dca7ffdc5b0ba7f7f6458261d | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Sep 17 00:24:52 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Sep 17 00:24:52 2010 +0000 |
tree | eaa294ee9b8ea49d08f406d41b5d7b82821e926e | |
parent | 009f69979aaddc324373e6b29385777ed2c69136 [diff] [blame] |
Driver: Add a toolchain hook for whether the system has native LLVM support. llvm-svn: 114137
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 471c47d..f5b4559 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/lib/Driver/ToolChains.cpp
@@ -59,6 +59,10 @@ return Ty; } +bool Darwin::HasNativeLLVMSupport() const { + return true; +} + // FIXME: Can we tablegen this? static const char *GetArmArchForMArch(llvm::StringRef Value) { if (Value == "armv6k")