Oops, forgot XCore. Sorry XCore!

llvm-svn: 77125
This commit is contained in:
Daniel Dunbar 2009-07-26 04:52:45 +00:00
parent 172649be2c
commit bd481a119c
2 changed files with 4 additions and 2 deletions

View File

@ -49,6 +49,7 @@ public:
thumb, // thumb, thumbv.*
x86, // i[3-9]86
x86_64, // amd64, x86_64
xcore, // xcore
InvalidArch
};

View File

@ -27,13 +27,14 @@ const char *Triple::getArchTypeName(ArchType Kind) {
case mips: return "mips";
case mipsel: return "mipsel";
case msp430: return "msp430";
case ppc64: return "powerpc64";
case ppc: return "powerpc";
case sparc: return "sparc";
case systemz: return "s390x";
case thumb: return "thumb";
case x86: return "i386";
case x86_64: return "x86_64";
case ppc: return "powerpc";
case ppc64: return "powerpc64";
case xcore: return "xcore";
}
return "<invalid>";