[all-commits] [llvm/llvm-project] e439a4: [lldb] Use forward type in pointer-to-member

Emre Kultursay via All-commits all-commits at lists.llvm.org
Mon Apr 26 06:24:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e439a463a30833f1c7d366ed722f0f12d1682638
      https://github.com/llvm/llvm-project/commit/e439a463a30833f1c7d366ed722f0f12d1682638
  Author: Emre Kultursay <emrekultursay at google.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/test/API/functionalities/lazy-loading/TestLazyLoading.py
    M lldb/test/API/functionalities/lazy-loading/main.cpp
    A lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/Makefile
    A lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/TestPointerToMemberTypeDependingOnParentSize.py
    A lldb/test/API/lang/cpp/pointer_to_member_type_depending_on_parent_size/main.cpp

  Log Message:
  -----------
  [lldb] Use forward type in pointer-to-member

This change is similar in spirit to the change at:
https://reviews.llvm.org/rG34c697c85e9d0af11a72ac4df5578aac94a627b3

It fixes the problem where the layout of a type was being accessed
while its base classes were not populated yet; which caused an
incorrect layout to be produced and cached.

This fixes PR50054

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D100977




More information about the All-commits mailing list