LLDB failed to resolve breakpoints in LTO optimized compile units if they come with embedded DWARF (no external dSYM).
LTO-optimized object files with embedded DWARF appear to have debug_line sections with multiple pairs of (prologue, statement table). LLDB is currently only reading the first one.
It turns out a little more tricky than expected. Will aim for a quick&conservative fix in order to make sure I found all affected spots. Then we can discuss and try to find a good implementation.
uint32_t file_idx = state.file;