[Lldb-commits] [PATCH] D30272: Improve data formatter for libstdcpp unique_ptr
Tamas Berghammer via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 22 13:49:18 PST 2017
tberghammer created this revision.
Improve data formatter for libstdcpp unique_ptr
- Fix infinite loop when there is a reference loop created from smart pointers
- Respect pointer depth argument in frame variable command
- Support dereferencing unique_ptr in the frame variable command
- Support operator-> for unique_ptr in the frame variable command
Note: After submitting this change I plan to add the same functionality for the other smart pointers as well (shared_ptr/weak_ptr, libcpp/libstdcpp)
https://reviews.llvm.org/D30272
Files:
include/lldb/Core/ValueObject.h
include/lldb/DataFormatters/ValueObjectPrinter.h
include/lldb/Target/Language.h
packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py
packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/main.cpp
source/Core/ValueObject.cpp
source/DataFormatters/ValueObjectPrinter.cpp
source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
source/Target/Language.cpp
source/Target/StackFrame.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30272.89416.patch
Type: text/x-patch
Size: 12214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170222/d0a18be3/attachment-0001.bin>
More information about the lldb-commits
mailing list