[Lldb-commits] [PATCH] D47991: Improve SBThread's stepping API using SBError parameter.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 20 11:26:54 PDT 2018


Won't this break client code that was calling StepOver?  We are pretty serious about maintaining binary compatibility with the SB API's.

Jim


> On Jun 20, 2018, at 11:19 AM, Alexander Polyakov via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> apolyakov added a comment.
> 
> I think we just can make old versions of API methods returning SBError in all cases. This way we'll deal with SBError and won't break down API calls.
> For example:
> 
>  // old
>  void StepOver() {
>    ...
>  }
> 
>  // new
>  SBError StepOver() {
>    ...
>    return sb_error;
>  }
> 
> 
> https://reviews.llvm.org/D47991
> 
> 
> 



More information about the lldb-commits mailing list