[Lldb-commits] [PATCH] D83199: [lldb/DWARF] Add a utility function for (forceful) completion of types

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 6 12:53:27 PDT 2020


labath created this revision.
labath added reviewers: teemperor, aprantl.
Herald added a reviewer: shafik.
Herald added a project: LLDB.

Unify the code for requiring a complete type and move it into a single
place. The only functional change is that the "cannot start a definition
of an incomplete type" is upgrated from a runtime error/warning to an
lldbassert. An plain assert might also be fine, since (AFAICT) this can
only happen in case of a programmer error.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83199

Files:
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83199.275612.patch
Type: text/x-patch
Size: 7251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200706/e4de4508/attachment.bin>


More information about the lldb-commits mailing list