This patch exposes the Target::CreateBreakpoint overload with the
boolean argument to move to the neareast code to the SBAPI.
This is useful when creating column breakpoints to restrict lldb's
resolution to the pointed source location, preventing it to go to the next
line.
rdar://72196842
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
It's unfortunate that we have so many overloads, if we had to do it again I would've argued for something like SBBreakpointLocationOptions or something, but I'm not sure if that adds a lot, and dealing with defaults (such as the move_to_nearest_code) is hard because we have no SB counterpart for it. So I guess this is fine.