[Lldb-commits] [PATCH] D49368: Complete user-defined types from PDB symbol files

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 16 03:47:04 PDT 2018


aleksandr.urakov created this revision.
aleksandr.urakov added reviewers: asmith, zturner, labath, clayborg.
Herald added a subscriber: JDevlieghere.

This patch adds the implementation of an UDT completion from PDB symbol files. For now it supports different UDT kinds (union, struct and class), static and non-static members, different member and base access, bit fields, virtual and non-virtual inheritance.

There is a problem with the virtual inheritance from packed types, but it refers to Clang's MicrosoftRecordLayoutBuilder. I am preparing a separate patch for that.


https://reviews.llvm.org/D49368

Files:
  include/lldb/Symbol/ClangASTContext.h
  lit/SymbolFile/PDB/Inputs/UdtCompletionTest.cpp
  lit/SymbolFile/PDB/Inputs/UdtCompletionTest.script
  lit/SymbolFile/PDB/udt-completion.test
  source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  source/Plugins/SymbolFile/PDB/PDBASTParser.h
  source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  source/Symbol/ClangASTContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49368.155641.patch
Type: text/x-patch
Size: 24983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180716/9136e867/attachment-0001.bin>


More information about the lldb-commits mailing list