http://llvm.org/bugs/show_bug.cgi?id=18772

            Bug ID: 18772
           Summary: Breakpoint reports invalid locations and breaks
                    incorrectly
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

I have a very different behaviour of lldb and gdb on pretty common piece of
code:
GuiProfile.cpp fragment:

...
void ProfileNameEdit::OnShow()
{
    SetText(Profiles::current()->name); // this is 10th line
}
...

(lldb) b GuiProfile.cpp:10
Breakpoint 2: 33 locations.

(gdb) b GuiProfile.cpp:10
Breakpoint 1 at 0x6d6e8c: GuiProfile.cpp:10. (4 locations)

Note 33 vs 4 locations.

The actual problem is that lldb breakpoint breaks where it should not. It
breaks on unrelated line of unrelated file far away from actual code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to