mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add support for the OpenBSD for Bitrig.
Patch by David Hill. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -124,6 +124,7 @@ const char *Triple::getOSTypeName(OSType Kind) {
|
||||
case RTEMS: return "rtems";
|
||||
case NativeClient: return "nacl";
|
||||
case CNK: return "cnk";
|
||||
case Bitrig: return "bitrig";
|
||||
}
|
||||
|
||||
llvm_unreachable("Invalid OSType");
|
||||
@@ -293,6 +294,7 @@ static Triple::OSType parseOS(StringRef OSName) {
|
||||
.StartsWith("rtems", Triple::RTEMS)
|
||||
.StartsWith("nacl", Triple::NativeClient)
|
||||
.StartsWith("cnk", Triple::CNK)
|
||||
.StartsWith("bitrig", Triple::Bitrig)
|
||||
.Default(Triple::UnknownOS);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user