[Lldb-commits] [lldb] r114083 - in /lldb/trunk: include/lldb/Symbol/UnwindPlan.h source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp

Benjamin Kramer benny.kra at googlemail.com
Thu Sep 16 09:07:21 PDT 2010


Author: d0k
Date: Thu Sep 16 11:07:21 2010
New Revision: 114083

URL: http://llvm.org/viewvc/llvm-project?rev=114083&view=rev
Log:
Unbreak build, you can't take a pointer from a "register" variable. Most compilers ignore this keyword anyways.

Also remove a typedef that typedefs nothing.

Modified:
    lldb/trunk/include/lldb/Symbol/UnwindPlan.h
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp

Modified: lldb/trunk/include/lldb/Symbol/UnwindPlan.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/UnwindPlan.h?rev=114083&r1=114082&r2=114083&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Symbol/UnwindPlan.h (original)
+++ lldb/trunk/include/lldb/Symbol/UnwindPlan.h Thu Sep 16 11:07:21 2010
@@ -44,7 +44,7 @@
         {
         public:
     
-            typedef enum RestoreType
+            enum RestoreType
                 {
                     unspecified,        // not specified, we may be able to assume this 
                                         // is the same register. gcc doesn't specify all 

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp?rev=114083&r1=114082&r2=114083&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp Thu Sep 16 11:07:21 2010
@@ -119,7 +119,7 @@
     
     if (abbrCode)
     {
-        register uint32_t offset = *offset_ptr;
+        uint32_t offset = *offset_ptr;
 
         m_abbrevDecl = cu->GetAbbreviations()->GetAbbreviationDeclaration(abbrCode);
         





More information about the lldb-commits mailing list