diff options
author | Dave Lee <davelee.com@gmail.com> | 2021-02-21 14:38:43 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2021-02-23 09:03:46 -0800 |
commit | 0ac42fd26d738b2d7b2811fc995bd7cacf994144 (patch) | |
tree | 4470bae7935a225e90a8793983072a73a06b1aa6 /clang/lib/Basic/Module.cpp | |
parent | 437f0bbcd509d0ed71b91ec1f86f48c2f4aae980 (diff) | |
download | llvm-0ac42fd26d738b2d7b2811fc995bd7cacf994144.zip llvm-0ac42fd26d738b2d7b2811fc995bd7cacf994144.tar.gz llvm-0ac42fd26d738b2d7b2811fc995bd7cacf994144.tar.bz2 |
[lldb] Add deref support and tests to shared_ptr synthetic
Add `frame variable` dereference suppport to libc++ `std::shared_ptr`.
This change allows for commands like `v *thing_sp` and `v thing_sp->m_id`. These
commands now work the same way they do with raw pointers. This is done by adding an
unaccounted for child member named `$$dereference$$`.
Also, add API tests for `std::shared_ptr`, previously there were none.
Differential Revision: https://reviews.llvm.org/D97165
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions