[Lldb-commits] [lldb] r186195 - Fix the linux gcc 4.6.3 buildbot failures that happened after my recent types checkin.

Greg Clayton gclayton at apple.com
Fri Jul 12 13:08:35 PDT 2013


Author: gclayton
Date: Fri Jul 12 15:08:35 2013
New Revision: 186195

URL: http://llvm.org/viewvc/llvm-project?rev=186195&view=rev
Log:
Fix the linux gcc 4.6.3 buildbot failures that happened after my recent types checkin.


Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp?rev=186195&r1=186194&r2=186195&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Fri Jul 12 15:08:35 2013
@@ -1877,13 +1877,15 @@ SymbolFileDWARF::ParseChildMembers
                         is_artificial = true;
                     }
 
-                    // Skip static members
+                    // Handle static members
                     if (is_external && member_byte_offset == UINT32_MAX)
                     {
                         Type *var_type = ResolveTypeUID(encoding_uid);
 
                         if (var_type)
                         {
+                            if (accessibility == eAccessNone)
+                                accessibility = eAccessPublic;
                             class_clang_type.AddVariableToRecordType (name,
                                                                       var_type->GetClangLayoutType(),
                                                                       accessibility);





More information about the lldb-commits mailing list