[lldb-dev] Is there a reason pid_t/tid_t are defined to be uint64_t?

Chaoren Lin chaorenl at google.com
Fri Feb 27 15:07:52 PST 2015


Hi Greg,

The 8 byte pid_t/tid_t are causing syscalls to fail to fail on 32 bit Linux
due to argument alignment. Is there a reason pid_t/tid_t are defined to be
uint64_t, and not pid_t as defined in <sys/types.h>?

Thanks,
Chaoren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150227/4ea4f72d/attachment.html>


More information about the lldb-dev mailing list