diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index bf1fa09a4d03..6247a8f1da6a 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/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; }