================
@@ -109,6 +109,18 @@ class DataExtractor {
DataExtractor(const lldb::DataBufferSP &data_sp, lldb::ByteOrder byte_order,
uint32_t addr_size, uint32_t target_byte_size = 1);
+ /// Constructure with shared data, but no byte order/addr size unspecified.
+ ///
+ /// Copies the data shared pointer which adds a reference to the contained
+ /// in \a data_sp. The shared data reference is reference counted to ensure
+ /// the data lives as long as anyone still has a valid shared pointer to the
+ /// data in \a data_sp.
----------------
jasonmolenda wrote:
In my defense on this one, I was copying & pasting the method description from
another constructor. :) i'll fix both.
https://github.com/llvm/llvm-project/pull/171574
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits