[Lldb-commits] [PATCH] D112945: [lldb] Improve error reporting in `lang objc tagged-pointer info`

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 1 14:09:39 PDT 2021


aprantl added a comment.

This is great, thanks! (one question inline)



================
Comment at: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp:1008
       }
-      result.SetStatus(lldb::eReturnStatusSuccessFinishResult);
-      return true;
+      success = true;
     }
----------------
I don't think `success` really works. Shouldn't the function only return `true` if none of the `arg_str`s failed?


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

https://reviews.llvm.org/D112945



More information about the lldb-commits mailing list