[Lldb-commits] [PATCH] D48295: [WIP] Implement new ReturnMIStatus method of CMICmdBase class.

Alexander Polyakov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 19 10:53:11 PDT 2018


apolyakov added a comment.

Sorry, but I still don't understand you. In my thoughts, user specify actions for success and/or error cases. Success case means that out SBError objects' status is success(`sb_error.Success() == true`). Error case means similar except SBError object has fail status. So if SBError has success status we should call `success_handler`, specified by user. I don't see similar logic in your pseudo code. Could you please explain your idea more exactly?


https://reviews.llvm.org/D48295





More information about the lldb-commits mailing list