[Lldb-commits] [PATCH] D32585: Implementation of remote packets for Trace data.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon May 29 09:39:51 PDT 2017
I see. In that case, at least store it in a std::unique_ptr<uint8_t>.
On Mon, May 29, 2017 at 12:22 AM Ravitheja Addepally via Phabricator <
reviews at reviews.llvm.org> wrote:
> ravitheja added a comment.
> Hello, the reason I switched to allocating with new (std::nothrow)
> uint8_t[byte_count]; was because the byte_count is actually user defined
> and I do want to catch cases where lldb is not able to allocate the
> requested buffer size.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits