llvm-project/lldb/lit/SymbolFile/PDB
Aleksandr Urakov 709426b33a [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
2018-09-10 08:08:43 +00:00
..
Inputs [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
ast-restore.test [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
class-layout.test [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
compilands.test
enums-layout.test [SymbolFilePDB] Get line number for PDBSymbolTypeEnum 2018-03-07 00:35:27 +00:00
func-symbols.test [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
function-level-linking.test PDB support of function-level linking and splitted functions 2018-06-08 02:45:25 +00:00
function-nested-block.test [PDB] Resolve a symbol context block info correctly 2018-08-29 07:26:11 +00:00
lit.local.cfg
pointers.test [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
type-quals.test [SymbolFilePDB] Add support for CVR pointer type qualifier 2018-03-07 00:39:25 +00:00
typedefs.test [SymbolFilePDB] Add a test for wchar_t type in PDB. 2018-05-23 01:58:23 +00:00
udt-layout.test [PDB] Parse UDT symbols and pointers to members (combined patch) 2018-08-14 07:57:44 +00:00
variables-locations.test Convert a location information from PDB to a DWARF expression 2018-07-13 10:29:27 +00:00
variables.test [PDB] Make variables.test to pass using a 32-bit compiler too 2018-08-24 07:24:52 +00:00