[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.
>
>
> https://reviews.llvm.org/D32585
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170529/401dd9c1/attachment-0001.html>
More information about the lldb-commits
mailing list