[Lldb-commits] [PATCH] D71630: [lldb] Add a SubsystemRAII that takes care of calling Initialize and Terminate in the unit tests

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 19 01:15:40 PST 2019


labath added a comment.

We have at least one Initialize function (Socket::Initialize) which can return an llvm::Error (and it is used in some unit tests). What's your plan to handle that?

Assuming we can come up with something there, I think this would be a great utility. I wouldn't be opposed to using this for the main initialization code too...


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D71630





More information about the lldb-commits mailing list