[Lldb-commits] [PATCH] D68278: Fix evaluation of nested classes with parent from other CU

Jaroslav Sevcik via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 1 08:37:54 PDT 2019


jarin created this revision.
Herald added subscribers: lldb-commits, JDevlieghere, teemperor.
Herald added a project: LLDB.

This makes sure that we associate DIEs that are imported from other CUs with the appropriate decl context.

Without this fix, nested classes can be dumped directly into their CU context if their parent was imported from another CU.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D68278

Files:
  packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/Makefile
  packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/TestNestedClassWithParentInAnotherCU.py
  packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/main.cpp
  packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/other.cpp
  packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/shared.h
  source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68278.222630.patch
Type: text/x-patch
Size: 3535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191001/1e6be12a/attachment-0001.bin>


More information about the lldb-commits mailing list