forked from OSchip/llvm-project
Fix missing triple support for RTEMS target.
llvm-svn: 134532
This commit is contained in:
parent
dca31a7964
commit
499647bfc3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue