Skip to content
Commit 56bb1d17 authored by Med Ismail Bennani's avatar Med Ismail Bennani
Browse files

[lldb/api] Improve error reporting in SBBreakpoint::AddName (NFCI)

This patch improves the error reporting for SBBreakpoint::AddName by
adding a new method `SBBreakpoint::AddNameWithErrorHandling` that returns
a SBError instead of a boolean.

This way, if the breakpoint naming failed in the backend, the client
(i.e. Xcode), will be able to report the reason of that failure to the
user.

rdar://64765461



Signed-off-by: default avatarMed Ismail Bennani <medismail.bennani@gmail.com>
parent 070acb1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment