diff options
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 4ca48dfaeee..26d9327f620 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -208,7 +208,7 @@ StringRef Triple::getOSTypeName(OSType Kind) { case AMDPAL: return "amdpal"; case HermitCore: return "hermit"; case Hurd: return "hurd"; - case COWS: return "cows"; + case WASI: return "wasi"; } llvm_unreachable("Invalid OSType"); @@ -506,7 +506,7 @@ static Triple::OSType parseOS(StringRef OSName) { .StartsWith("amdpal", Triple::AMDPAL) .StartsWith("hermit", Triple::HermitCore) .StartsWith("hurd", Triple::Hurd) - .StartsWith("cows", Triple::COWS) + .StartsWith("wasi", Triple::WASI) .Default(Triple::UnknownOS); } |