[lldb-dev] Where "thread until <line-number>" should set breakpoints?

Jim Ingham via lldb-dev lldb-dev at lists.llvm.org
Thu Aug 2 10:27:42 PDT 2018



> On Aug 2, 2018, at 10:26 AM, Jim Ingham via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> I think the better behavior is to try FindLineEntry the first time with exact = false.  If that picks up a different line from the one given, reset the line we are looking for to the found line.  In either case, then go on to search for all the other instances of that line with exact = false.  It might actually be handy to have another function on CompUnit like FindAllEntriesForLine that bundles up this behavior as it seems a generally useful one.

That should be "search for all the other instances of that line with exact = true"...


Jim



More information about the lldb-dev mailing list