[Bug 22323] New: LLDB does not stop at breakpoint from "--source" file

Bug ID 22323
Summary LLDB does not stop at breakpoint from “–source” file
Product lldb
Version 3.3
Hardware Macintosh
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter christian@fox21.at
Classification Unclassified

Version: lldb-330.99.0 (ToT)
OS: OS X 10.10.1 Yosemite
Reference discussion:


:> cat /tmp/test.lldb
br s -a 0x7fff5fc01031
br s -a 0x7fff5fc01271
br s -a 0x7fff5fc05bdc
process launch --stop-at-entry

:> lldb PATH/TO/A_EXECUTABLE -s /tmp/test.lldb

The first breakpoint LLDB will hit is at 0x7fff5fc05bdc. 0x7fff5fc01031 is in
_dyld_start. If I set the 0x7fff5fc01031 breakpoint manually after LLDB stop at
the entry (_dyld_start, 0x7fff5fc01000) it will work. The first breakpoint from
the source file which will work is after all images has been linked.