[Lldb-commits] [lldb] r167747 - /lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Daniel Malea daniel.malea at intel.com
Mon Nov 12 13:02:14 PST 2012


Author: dmalea
Date: Mon Nov 12 15:02:14 2012
New Revision: 167747

URL: http://llvm.org/viewvc/llvm-project?rev=167747&view=rev
Log:
Fix libstdc++ build
- Add missing operator= definition for DelayedAddObjCClassProperty
- needed to be compatible with libstdc++ vector implementation


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=167747&r1=167746&r2=167747&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Mon Nov 12 15:02:14 2012
@@ -1504,6 +1504,11 @@
     
     DelayedAddObjCClassProperty (const DelayedAddObjCClassProperty &rhs)
     {
+      *this = rhs;
+    }
+
+    DelayedAddObjCClassProperty& operator= (const DelayedAddObjCClassProperty &rhs)
+    {
         m_ast                  = rhs.m_ast;
         m_class_opaque_type    = rhs.m_class_opaque_type;
         m_property_name        = rhs.m_property_name;
@@ -1518,7 +1523,7 @@
             m_metadata_ap.reset (new ClangASTMetadata());
             *(m_metadata_ap.get()) = *(rhs.m_metadata_ap.get());
         }
-        
+        return *this;
     }
     
     bool Finalize() const





More information about the lldb-commits mailing list