[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Add deref support to libc++ unique_ptr syntheticAdd frame variable dereference suppport to libc++ `std::unique_ptr`.This change allows for commands like `v *thing_up` and `v thing_up->m_id
[lldb] Add deref support to libc++ unique_ptr syntheticAdd frame variable dereference suppport to libc++ `std::unique_ptr`.This change allows for commands like `v *thing_up` and `v thing_up->m_id`. These commands now work the same way they would with raw pointers, and as they would with expression. This is done by adding an unaccounted for child member named `$$dereference$$`.Without this change, the command would have to be written as `v *thing_up.__value_` or v thing_up.__value_->m_id` which exposes internal structure and is more clumsy to type.Additionally, the existing tests were updated. See also https://reviews.llvm.org/D97165 which added deref support for `std::shared_ptr`.Differential Revision: https://reviews.llvm.org/D97524
[DataFormatters] Add formatter for libc++ std::unique_ptrThis adds a formatter for libc++ std::unique_ptr.I also refactored GetValueOfCompressedPair(...) out of LibCxxList.cpp since I need the sa
[DataFormatters] Add formatter for libc++ std::unique_ptrThis adds a formatter for libc++ std::unique_ptr.I also refactored GetValueOfCompressedPair(...) out of LibCxxList.cpp since I need the same functionality and it made sense to share it.Differential Revision: https://reviews.llvm.org/D76476