summaryrefslogtreecommitdiffstats
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDavid L Kreitzer <david.l.kreitzer@intel.com>2016-10-14 20:44:33 +0000
committerDavid L Kreitzer <david.l.kreitzer@intel.com>2016-10-14 20:44:33 +0000
commit80ec6606b51bca1eae70002ac45057694e8e3166 (patch)
tree89767fc919e6c7eb61b77f45526efb2b25ac0c18 /lib/Driver/Driver.cpp
parentd78f53261e35d709ea00bffcb8d40c10a2894085 (diff)
Define Contiki OS toolchain
Patch by Michael LeMay Differential revision: http://reviews.llvm.org/D19854 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 459f601814..f2ee1ca5c8 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -3120,6 +3120,9 @@ const ToolChain &Driver::getToolChain(const ArgList &Args,
case llvm::Triple::PS4:
TC = new toolchains::PS4CPU(*this, Target, Args);
break;
+ case llvm::Triple::Contiki:
+ TC = new toolchains::Contiki(*this, Target, Args);
+ break;
default:
// Of these targets, Hexagon is the only one that might have
// an OS of Linux, in which case it got handled above already.