<div dir="ltr">

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hello!</span><div style="text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="text-decoration-style:initial;text-decoration-color:initial">We want to add to LLDB a support of a lookup of variables values with PDB.</div><div style="text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="text-decoration-style:initial;text-decoration-color:initial">Now SymbolFilePDB::ParseVariableForPDBData function uses an empty location for variables, s<font face="arial, helvetica, sans-serif">o e.g. `fr v` prints values as '<empty constant data></font><span style="font-family:arial,helvetica,sans-serif">'. S</span>ymbol 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.</div><div style="text-decoration-style:initial;text-decoration-color:initial"><div><br></div><div>Regards,</div><div>Aleksandr</div></div>

<div><br></div><div>-- <br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Aleksandr Urakov</div><div><span>Software Developer</span></div><div><span>JetBrains</span></div><div><span><a href="http://www.jetbrains.com" target="_blank">http://www.jetbrains.com</a></span></div><div><span>The Drive to Develop</span></div></div></div></div>