[lldb-dev] Too many ModuleSP references

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Tue Feb 21 16:49:27 PST 2017


> 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.

Jim




More information about the lldb-dev mailing list