mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Make NaCl naming consistent. The triple OSType is called NaCl and is represented
textually as NativeClient. Also added a link to the native client project for readers unfamiliar with it. A Clang patch will follow shortly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169291 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -125,7 +125,7 @@ const char *Triple::getOSTypeName(OSType Kind) {
|
||||
case Haiku: return "haiku";
|
||||
case Minix: return "minix";
|
||||
case RTEMS: return "rtems";
|
||||
case NativeClient: return "nacl";
|
||||
case NaCl: return "nacl";
|
||||
case CNK: return "cnk";
|
||||
case Bitrig: return "bitrig";
|
||||
case AIX: return "aix";
|
||||
@@ -272,7 +272,7 @@ static Triple::OSType parseOS(StringRef OSName) {
|
||||
.StartsWith("haiku", Triple::Haiku)
|
||||
.StartsWith("minix", Triple::Minix)
|
||||
.StartsWith("rtems", Triple::RTEMS)
|
||||
.StartsWith("nacl", Triple::NativeClient)
|
||||
.StartsWith("nacl", Triple::NaCl)
|
||||
.StartsWith("cnk", Triple::CNK)
|
||||
.StartsWith("bitrig", Triple::Bitrig)
|
||||
.StartsWith("aix", Triple::AIX)
|
||||
|
Reference in New Issue
Block a user