From b0e77a228f03e88bf2c5a1b3ccfb829c43ae0732 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 6 Jul 2011 20:56:26 +0000 Subject: Fix missing triple support for RTEMS target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134532 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Triple.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index bf1fa09..6247a8f 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -351,6 +351,8 @@ Triple::OSType Triple::ParseOS(StringRef OSName) { return Haiku; else if (OSName.startswith("minix")) return Minix; + else if (OSName.startswith("rtems")) + return RTEMS; else return UnknownOS; } -- cgit v1.1