[llvm] Add support for squiid OSType
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
This commit is contained in:
parent
477e7285b1
commit
053d967c76
|
@ -219,7 +219,8 @@ public:
|
|||
WASI, // Experimental WebAssembly OS
|
||||
Emscripten,
|
||||
ShaderModel, // DirectX ShaderModel
|
||||
LastOSType = ShaderModel
|
||||
Squiid,
|
||||
LastOSType = Squiid
|
||||
};
|
||||
enum EnvironmentType {
|
||||
UnknownEnvironment,
|
||||
|
|
|
@ -234,6 +234,7 @@ StringRef Triple::getOSTypeName(OSType Kind) {
|
|||
case PS5: return "ps5";
|
||||
case RTEMS: return "rtems";
|
||||
case Solaris: return "solaris";
|
||||
case Squiid: return "squiid";
|
||||
case TvOS: return "tvos";
|
||||
case WASI: return "wasi";
|
||||
case WatchOS: return "watchos";
|
||||
|
@ -587,6 +588,7 @@ static Triple::OSType parseOS(StringRef OSName) {
|
|||
.StartsWith("wasi", Triple::WASI)
|
||||
.StartsWith("emscripten", Triple::Emscripten)
|
||||
.StartsWith("shadermodel", Triple::ShaderModel)
|
||||
.StartsWith("squiid", Triple::Squiid)
|
||||
.Default(Triple::UnknownOS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue