================ @@ -0,0 +1,45 @@ +import lldb + +class FacadeExample: + def __init__(self, bkpt, extra_args, dict): + self.bkpt = bkpt + self.extra_args = extra_args + self.base_sym = None + self.facade_locs = [] + self.facade_locs_desc = [] + self.cur_facade_loc = 1 + + self.sym_name = extra_args.GetValueForKey("symbol").GetStringValue(100) + self.num_locs = extra_args.GetValueForKey("num_locs").GetIntegerValue(5) + self.loc_to_miss = extra_args.GetValueForKey("loc_to_miss").GetIntegerValue(10000) + + def __callback__(self, sym_ctx): ---------------- jimingham wrote:
`__callback__` was what I called the "resolver do your work" function in ScriptedBreakpointResolvers. This part isn't new. It's documented in python-reference.rst and has been in place for a while now. I don't think we can change it. Anyway, that's not germane to this patch in particular, and it's big enough already... https://github.com/llvm/llvm-project/pull/158128 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits