diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-07-13 10:29:27 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-07-13 10:29:27 +0000 |
commit | 924d560867f40b6ae22ef4dec7078d44d3d7c7e1 (patch) | |
tree | 9363e1fb13f2c510ec9259e0adc1468e6872bdc6 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | d86aad699defc0be37ca25971df728a1ce8575ac (diff) | |
download | bcm5719-llvm-924d560867f40b6ae22ef4dec7078d44d3d7c7e1.tar.gz bcm5719-llvm-924d560867f40b6ae22ef4dec7078d44d3d7c7e1.zip |
Convert a location information from PDB to a DWARF expression
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.
Patch by: Aleksandr Urakov
Differential revision: https://reviews.llvm.org/D49018
llvm-svn: 336988
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions