[Lldb-commits] [lldb] r149609 - /lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Greg Clayton
gclayton at apple.com
Thu Feb 2 10:17:00 PST 2012
Author: gclayton
Date: Thu Feb 2 12:16:59 2012
New Revision: 149609
URL: http://llvm.org/viewvc/llvm-project?rev=149609&view=rev
Log:
Fixed a build breakage when trying to assign a shared pointer using a raw pointer.
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=149609&r1=149608&r2=149609&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Thu Feb 2 12:16:59 2012
@@ -4204,7 +4204,7 @@
MakeUserID(type_cu->GetOffset()));
m_die_to_type[die] = resolved_type;
- type_sp = resolved_type;
+ type_sp = resolved_type->shared_from_this();
break;
}
}
More information about the lldb-commits
mailing list