[Lldb-commits] [lldb] [LLDB] Consolidate C++ string buffer summaries (PR #144258)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 16 07:11:12 PDT 2025
================
@@ -43,6 +44,17 @@ bool Char32SummaryProvider(ValueObject &valobj, Stream &stream,
bool WCharSummaryProvider(ValueObject &valobj, Stream &stream,
const TypeSummaryOptions &options); // wchar_t
+std::optional<uint64_t> GetWCharByteSize(Target &target);
+
+/// Print a summary for a string buffer to \a stream.
+///
+/// The buffer consists of a data pointer, \a location_sp, and a known \a size.
----------------
Michael137 wrote:
Lets document the parameters like:
```
\param[in] stream ...
\param[in] summary_options ...
etc.
```
https://github.com/llvm/llvm-project/pull/144258
More information about the lldb-commits
mailing list