[Lldb-commits] [PATCH] D69468: [LLDB][breakpoints] ArgInfo::count -> ArgInfo::max_positional_args

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Oct 27 08:09:53 PDT 2019


labath added inline comments.


================
Comment at: lldb/scripts/Python/python-wrapper.swig:64
 
+    unsigned max_positional_args = PythonCallable::ArgInfo::UNBOUNDED;
+    if (auto arg_info = pfunc.GetArgInfo()) {
----------------
Is there any case where fetching the argument info will fail, but we still can successfully call the target object? Should we just bail out here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69468





More information about the lldb-commits mailing list