diff options
| author | Adrian Prantl <aprantl@apple.com> | 2018-08-23 17:02:39 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2018-08-23 17:02:39 +0000 |
| commit | 6b58fa712017debd1de4b5a34b4ccf122c8b8a37 (patch) | |
| tree | 845a825cddeaa2f28b366609752f2b593b624537 /lldb/source/Plugins/Language/CPlusPlus/LibCxx.h | |
| parent | 1b4a666ba584cf6b53e1674fa65b3f5ad65fa959 (diff) | |
| download | bcm5719-llvm-6b58fa712017debd1de4b5a34b4ccf122c8b8a37.tar.gz bcm5719-llvm-6b58fa712017debd1de4b5a34b4ccf122c8b8a37.zip | |
Add libc++ data formatter for std::function
- Added LibcxxFunctionSummaryProvider
- Removed LibcxxFunctionFrontEnd
- Modified data formatter tests to test new summary functionality
Patch by Shafik Yaghmour!
Differential Revision: https://reviews.llvm.org/D50864
llvm-svn: 340543
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/LibCxx.h')
| -rw-r--r-- | lldb/source/Plugins/Language/CPlusPlus/LibCxx.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Language/CPlusPlus/LibCxx.h b/lldb/source/Plugins/Language/CPlusPlus/LibCxx.h index 0a45504cf76..06f5817845b 100644 --- a/lldb/source/Plugins/Language/CPlusPlus/LibCxx.h +++ b/lldb/source/Plugins/Language/CPlusPlus/LibCxx.h @@ -36,6 +36,10 @@ bool LibcxxSmartPointerSummaryProvider( const TypeSummaryOptions &options); // libc++ std::shared_ptr<> and std::weak_ptr<> +bool LibcxxFunctionSummaryProvider( + ValueObject &valobj, Stream &stream, + const TypeSummaryOptions &options); // libc++ std::function<> + SyntheticChildrenFrontEnd * LibcxxVectorBoolSyntheticFrontEndCreator(CXXSyntheticChildren *, lldb::ValueObjectSP); @@ -128,9 +132,6 @@ SyntheticChildrenFrontEnd * LibcxxInitializerListSyntheticFrontEndCreator(CXXSyntheticChildren *, lldb::ValueObjectSP); -SyntheticChildrenFrontEnd *LibcxxFunctionFrontEndCreator(CXXSyntheticChildren *, - lldb::ValueObjectSP); - SyntheticChildrenFrontEnd *LibcxxQueueFrontEndCreator(CXXSyntheticChildren *, lldb::ValueObjectSP); |

