[Lldb-commits] [PATCH] D55384: [NativePDB] Reconstruct FunctionDecl AST nodes from PDB debug info

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 6 13:06:39 PST 2018


zturner created this revision.
zturner added reviewers: aleksandr.urakov, amccarth, labath, lemo.
Herald added subscribers: hiraditya, aprantl.

Previously we would create an `lldb::Function` object for each function parsed, but we would not add these to the clang AST.  This is a first step towards getting local variable support working, as we first need an AST decl so that when we create local variable entries, they have the proper `DeclContext`.


https://reviews.llvm.org/D55384

Files:
  lldb/lit/SymbolFile/NativePDB/Inputs/ast-functions.lldbinit
  lldb/lit/SymbolFile/NativePDB/Inputs/ast-reconstruction.lldbinit
  lldb/lit/SymbolFile/NativePDB/Inputs/ast-types.lldbinit
  lldb/lit/SymbolFile/NativePDB/ast-functions.cpp
  lldb/lit/SymbolFile/NativePDB/ast-reconstruction.cpp
  lldb/lit/SymbolFile/NativePDB/ast-types.cpp
  lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  llvm/include/llvm/DebugInfo/CodeView/SymbolRecordHelpers.h
  llvm/include/llvm/Support/BinaryStreamArray.h
  llvm/lib/DebugInfo/CodeView/SymbolRecordHelpers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55384.177031.patch
Type: text/x-patch
Size: 8953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181206/03bbeb7a/attachment.bin>


More information about the lldb-commits mailing list