https://github.com/JDevlieghere approved this pull request.

LGTM. Maybe an opportunity to use a unique_ptr with a custom deleter? Something 
like:

```
struct TrackingOutputBufferDeleter {
  void operator()(TrackingOutputBuffer* TOB) {
    if (!TOB)
      return;
    std::free(TOB->getBuffer());
    std::free(TOB);
  }
};
```

https://github.com/llvm/llvm-project/pull/142676
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to