[Lldb-commits] [lldb] r105883 - /lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Greg Clayton
gclayton at apple.com
Sat Jun 12 08:33:14 PDT 2010
Author: gclayton
Date: Sat Jun 12 10:33:14 2010
New Revision: 105883
URL: http://llvm.org/viewvc/llvm-project?rev=105883&view=rev
Log:
Fixed an issue with the new DW_TAG_ptr_to_member_type changes where the clang type that was being created was using the pointee_type for both the class and the member 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=105883&r1=105882&r2=105883&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp Sat Jun 12 10:33:14 2010
@@ -3152,7 +3152,7 @@
Type *class_type = ResolveTypeUID(containing_type_die_offset);
void *pointee_clang_type = pointee_type->GetOpaqueClangQualType();
- void *class_clang_type = pointee_type->GetOpaqueClangQualType();
+ void *class_clang_type = class_type->GetOpaqueClangQualType();
void *clang_type = type_list->GetClangASTContext().CreateMemberPointerType(pointee_clang_type, class_clang_type);
More information about the lldb-commits
mailing list