[Lldb-commits] [lldb] r251319 - Fix an API missues in ParseTypeFromDWARF

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 26 11:10:55 PDT 2015


Author: tberghammer
Date: Mon Oct 26 13:10:55 2015
New Revision: 251319

URL: http://llvm.org/viewvc/llvm-project?rev=251319&view=rev
Log:
Fix an API missues in ParseTypeFromDWARF

The arguments for ClangASTContext::CreateMemberPointerType was passed
in in the wrong order.

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

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp?rev=251319&r1=251318&r2=251319&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Mon Oct 26 13:10:55 2015
@@ -1522,7 +1522,7 @@ DWARFASTParserClang::ParseTypeFromDWARF
                         CompilerType pointee_clang_type = pointee_type->GetForwardCompilerType ();
                         CompilerType class_clang_type = class_type->GetLayoutCompilerType ();
                         
-                        clang_type = ClangASTContext::CreateMemberPointerType(pointee_clang_type, class_clang_type);
+                        clang_type = ClangASTContext::CreateMemberPointerType(class_clang_type, pointee_clang_type);
                         
                         byte_size = clang_type.GetByteSize(nullptr);
                         




More information about the lldb-commits mailing list