finish removal of alpha arch -- previous half-removal caused lldb to assert on startup

llvm-svn: 143294
This commit is contained in:
Jason Molenda 2011-10-29 20:32:56 +00:00
parent fb3e4306af
commit ada22aa0e9
2 changed files with 1 additions and 4 deletions

View File

@ -34,8 +34,6 @@ class ArchSpec
public:
enum Core
{
eCore_alpha_generic,
eCore_arm_generic,
eCore_arm_armv4,
eCore_arm_armv4t,
@ -192,7 +190,7 @@ public:
bool
IsValid () const
{
return m_core >= eCore_alpha_generic && m_core < kNumCores;
return m_core >= eCore_arm_generic && m_core < kNumCores;
}

View File

@ -189,7 +189,6 @@ static const ArchDefinitionEntry g_elf_arch_entries[] =
{ ArchSpec::eCore_ppc_generic , llvm::ELF::EM_PPC , LLDB_INVALID_CPUTYPE }, // PowerPC
{ ArchSpec::eCore_ppc64_generic , llvm::ELF::EM_PPC64 , LLDB_INVALID_CPUTYPE }, // PowerPC64
{ ArchSpec::eCore_arm_generic , llvm::ELF::EM_ARM , LLDB_INVALID_CPUTYPE }, // ARM
{ ArchSpec::eCore_alpha_generic , llvm::ELF::EM_ALPHA , LLDB_INVALID_CPUTYPE }, // DEC Alpha
{ ArchSpec::eCore_sparc9_generic , llvm::ELF::EM_SPARCV9, LLDB_INVALID_CPUTYPE }, // SPARC V9
{ ArchSpec::eCore_x86_64_x86_64 , llvm::ELF::EM_X86_64 , LLDB_INVALID_CPUTYPE }, // AMD64
};