[Lldb-commits] [PATCH] D156498: [lldb] Support recursive record types in CTF

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 27 17:42:59 PDT 2023


JDevlieghere created this revision.
JDevlieghere added reviewers: Michael137, bulbazord, jasonmolenda.
Herald added a project: All.
JDevlieghere requested review of this revision.

Support recursive record types in CTF. We are now more lazy when creating LLDB types. When encountering a record type (struct or union) we create a forward declaration and only complete it when requested.


https://reviews.llvm.org/D156498

Files:
  lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.cpp
  lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.h
  lldb/test/API/macosx/ctf/TestCTF.py
  lldb/test/API/macosx/ctf/test.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156498.544989.patch
Type: text/x-patch
Size: 5537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230728/2c8aad98/attachment.bin>


More information about the lldb-commits mailing list