[lldb-dev] Too many ModuleSP references

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Tue Feb 21 17:08:45 PST 2017


> On Feb 21, 2017, at 4:49 PM, Jim Ingham via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> 
>> On Feb 21, 2017, at 4:24 PM, Greg Clayton via lldb-dev <lldb-dev at lists.llvm.org> wrote:
>> 
>>> - StepOverBreakpointTestCase: Have the test not store the breakpoints
>>> in the test case object. Basically, declare that this is not a bug,
>>> and it's the users responsibility to clean up necessary objects.
>> 
>> It would be nice to avoid this.
>> 
>>> 
> 
> I don't agree with this.  I think trying to force folks using the API from Python to manually clear all stored objects would be really obnoxious.  If anything, we should figure out how to make this accidental failure into an intended failure so we can make sure we don't end up requiring this kind of micro-management.

It's possible you meant "it would be nice to avoid it's being the user's responsibility to clean up necessary objects", in which case sorry for mis-reading but happy we agree...

Jim


> 
> Jim
> 
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list