[Lldb-commits] [PATCH] D132397: [LLDB] Clean up after command fails

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 24 03:04:45 PDT 2022


labath added a comment.

I'm not really familiar this code, but could something like `llvm::make_scope_exit` be useful here?
Also, what is the effect of not calling Cleanup? That subsequent commands fail in some way? Could we make a test case for that?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132397/new/

https://reviews.llvm.org/D132397



More information about the lldb-commits mailing list