[Lldb-commits] [PATCH] Casting pid to ::pid_t when invoking syscall.

Chaoren Lin chaorenl at google.com
Fri Feb 27 15:44:08 PST 2015


extern long int syscall (long int __sysno, ...) __THROW;

Variadic arguments.

On Fri, Feb 27, 2015 at 3:41 PM, Greg Clayton <clayborg at gmail.com> wrote:

> Sounds like you don't have the function prototype for syscall? Otherwise
> there would be a conversion to the correct type. You can fix this with a
> static_cast like you did, but in reality this shouldn't happen unless you
> don't have the syscall prototype.
>
>
> http://reviews.llvm.org/D7963
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150227/5c6fd58f/attachment.html>


More information about the lldb-commits mailing list