mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Add NativeClient support to Triple::ParseOS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c2165bbd0
commit
d883453213
@ -356,6 +356,8 @@ Triple::OSType Triple::ParseOS(StringRef OSName) {
|
|||||||
return Minix;
|
return Minix;
|
||||||
else if (OSName.startswith("rtems"))
|
else if (OSName.startswith("rtems"))
|
||||||
return RTEMS;
|
return RTEMS;
|
||||||
|
else if (OSName.startswith("nacl"))
|
||||||
|
return NativeClient;
|
||||||
else
|
else
|
||||||
return UnknownOS;
|
return UnknownOS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user