diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-05-23 01:52:42 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-05-23 01:52:42 +0000 |
commit | cab0d23ff77cbb35e85915e8ce4e4fdaa9eca486 (patch) | |
tree | f238a841c48aa881a869027cf6c267c8be8d44dc /libcxx/test | |
parent | 7f5bf83f5371c06f80a198692580ddc26f0c228c (diff) | |
download | bcm5719-llvm-cab0d23ff77cbb35e85915e8ce4e4fdaa9eca486.tar.gz bcm5719-llvm-cab0d23ff77cbb35e85915e8ce4e4fdaa9eca486.zip |
[SymbolFilePDB] Add support for resolving variable symbols
Summary:
Implement FindGlobalVariables and ParseVariableContext methods.
Compile unit information is necessary for resolving variable context, however some PDB symbols do not have this information. For now an empty DWARFExpression is used to construct a lldb::Variable instance with the limitation that using lldb to lookup the value of a global or local variable is not available.
This commit may slow down lit/SymbolFile/PDB/compilands.test since the test includes MS specific modules that spend more time parsing variables.
Reviewers: rnk, zturner, lldb-commits
Subscribers: aprantl, JDevlieghere, llvm-commits
Differential Revision: https://reviews.llvm.org/D45224
llvm-svn: 333049
Diffstat (limited to 'libcxx/test')
0 files changed, 0 insertions, 0 deletions