aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-09-10 08:08:43 +0000
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-09-10 08:08:43 +0000
commit709426b33a17d69b102f9ab80abda1749636c259 (patch)
treec9dee5eef4148aed830c50e3b6cd971e247acd72 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent59491a1fa955da7a5baa9182722f655cb4496881 (diff)
downloadllvm-709426b33a17d69b102f9ab80abda1749636c259.zip
llvm-709426b33a17d69b102f9ab80abda1749636c259.tar.gz
llvm-709426b33a17d69b102f9ab80abda1749636c259.tar.bz2
[PDB] Restore AST from PDB symbols
Summary: This patch adds an implementation of retrieving of declarations and declaration contexts based on PDB symbols. PDB has different type symbols for const-qualified types, and this implementation ensures that only one declaration was created for both const and non-const types, but creates different compiler types for them. The implementation also processes the case when there are two symbols corresponding to a variable. It's possible e.g. for class static variables, they has one global symbol and one symbol belonging to a class. PDB has no info about namespaces, so this implementation parses the full symbol name and tries to figure out if the symbol belongs to namespace or not, and then creates nested namespaces if necessary. Reviewers: asmith, zturner, labath Reviewed By: asmith Subscribers: aleksandr.urakov, teemperor, lldb-commits, stella.stamenova Tags: #lldb Differential Revision: https://reviews.llvm.org/D51162 llvm-svn: 341782
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions