[lldb-dev] Support of a lookup of variables values with PDB

Aleksandr Urakov via lldb-dev lldb-dev at lists.llvm.org
Wed Jun 27 05:25:05 PDT 2018


 Hello!

We want to add to LLDB a support of a lookup of variables values with PDB.

Now SymbolFilePDB::ParseVariableForPDBData function uses an empty location
for variables, so e.g. `fr v` prints values as '<empty constant data>'. Symbol
location information is available in a PDB (through
PDBSymbolData::getLocationType and so on), but not in the format of DWARF
expression. Do I understand correctly, that it is necessary to write some
converter of a PDB symbol location to a DWARF expression bytecode? Is this
the preferable way of solving the issue? What are pitfalls there? Please,
share your thoughts on this.

Regards,
Aleksandr

-- 
Aleksandr Urakov
Software Developer
JetBrains
http://www.jetbrains.com
The Drive to Develop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180627/4ca1fbd8/attachment.html>


More information about the lldb-dev mailing list