[Lldb-commits] [PATCH] D49980: [PDB] Parse UDT symbols and pointers to members (combined patch)

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 30 05:17:06 PDT 2018


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

In this patch I've tried to combine the best ideas from https://reviews.llvm.org/D49368 and https://reviews.llvm.org/D49410, so it implements following:

- Completion of UDTs from a PDB with a filling of a layout info;
- Pointers to members;
- Fixes the bug relating to a virtual base offset reading from `vbtable`. The offset was treated as an unsigned, but it can be a negative sometimes.


https://reviews.llvm.org/D49980

Files:
  include/lldb/Symbol/ClangASTContext.h
  lit/SymbolFile/PDB/Inputs/ClassLayoutTest.cpp
  lit/SymbolFile/PDB/Inputs/PointerTypeTest.cpp
  lit/SymbolFile/PDB/Inputs/UdtLayoutTest.cpp
  lit/SymbolFile/PDB/Inputs/UdtLayoutTest.script
  lit/SymbolFile/PDB/class-layout.test
  lit/SymbolFile/PDB/pointers.test
  lit/SymbolFile/PDB/udt-layout.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: D49980.157945.patch
Type: text/x-patch
Size: 43567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180730/8523b70e/attachment-0001.bin>


More information about the lldb-commits mailing list