[Lldb-commits] [PATCH] D13679: Fix TestTargetAPI.py test for users who use Swig 3.0.5 or greater.

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 12 16:32:21 PDT 2015


With Swig 3.0.2, non-string arguments work.  I'm not sure why.  Even the
Swig 1.x documentation says that what we're doing shouldn't work.

On Mon, Oct 12, 2015 at 3:49 PM, Zachary Turner <zturner at google.com> wrote:

> zturner added a comment.
>
> Prior to this patch, what was the behavior of using
> SetErrorStringWithFormat with an argument that was not a string?
>
> Can you add a test to `fuzz_obj` that calls
> `SetErrorStringWithFormat("%d", 10)` and run it against SWIG 3.0.2 and see
> what happens?
>
>
> http://reviews.llvm.org/D13679
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151012/088d311b/attachment.html>


More information about the lldb-commits mailing list