[Lldb-commits] [PATCH] D49018: Convert a location information from PDB to a DWARF expression

Aleksandr Urakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 6 05:49:44 PDT 2018

aleksandr.urakov added a comment.

Excuse me, I have forgot to add lldb-commits as a subscriber, so I'll repeat initial message.

The current version of SymbolFilePDB::ParseVariableForPDBData function always initializes variables with an empty location. This patch adds the converter of a location information from PDB to a DWARF expression, so it becomes possible to watch values of variables of primitive data types. At the moment the converter supports only Static, TLS, RegRel, Enregistered and Constant PDB location types, but it seems that it's enough for most cases. There are still some problems with retrieving values of variables (e.g. we can't watch variables of composite types), but they look not relevant to the conversion to DWARF.


More information about the lldb-commits mailing list