[Lldb-commits] [lldb] r143294 - in /lldb/trunk: include/lldb/Core/ArchSpec.h source/Core/ArchSpec.cpp

Jason Molenda jmolenda at apple.com
Sat Oct 29 13:32:56 PDT 2011


Author: jmolenda
Date: Sat Oct 29 15:32:56 2011
New Revision: 143294

URL: http://llvm.org/viewvc/llvm-project?rev=143294&view=rev
Log:
finish removal of alpha arch -- previous half-removal caused lldb to assert on startup

Modified:
    lldb/trunk/include/lldb/Core/ArchSpec.h
    lldb/trunk/source/Core/ArchSpec.cpp

Modified: lldb/trunk/include/lldb/Core/ArchSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ArchSpec.h?rev=143294&r1=143293&r2=143294&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h (original)
+++ lldb/trunk/include/lldb/Core/ArchSpec.h Sat Oct 29 15:32:56 2011
@@ -34,8 +34,6 @@
 public:
     enum Core
     {
-        eCore_alpha_generic,
-
         eCore_arm_generic,
         eCore_arm_armv4,
         eCore_arm_armv4t,
@@ -192,7 +190,7 @@
     bool
     IsValid () const
     {
-        return m_core >= eCore_alpha_generic && m_core < kNumCores;
+        return m_core >= eCore_arm_generic && m_core < kNumCores;
     }
 
 

Modified: lldb/trunk/source/Core/ArchSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ArchSpec.cpp?rev=143294&r1=143293&r2=143294&view=diff
==============================================================================
--- lldb/trunk/source/Core/ArchSpec.cpp (original)
+++ lldb/trunk/source/Core/ArchSpec.cpp Sat Oct 29 15:32:56 2011
@@ -189,7 +189,6 @@
     { 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
 };





More information about the lldb-commits mailing list