diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-06-07 13:19:38 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-06-07 13:19:38 +0000 |
commit | 2c8fc6f8c937d03ce4e5caec97b01aae7bfeff21 (patch) | |
tree | 477bf613958352caf0d450b3022253df64b8cc70 /lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp | |
parent | b101383fb5939c2ce5df0b64ec1221483d9902b0 (diff) | |
download | bcm5719-llvm-2c8fc6f8c937d03ce4e5caec97b01aae7bfeff21.tar.gz bcm5719-llvm-2c8fc6f8c937d03ce4e5caec97b01aae7bfeff21.zip |
[sanitizer] Fix build for new GLIBC msghdr/cmsghdr definition
GLIBC now follows POSIX [1] for both msghdr and cmsghdr definitions,
which means that msg_iovlen, msg_controllen, and cmsg_len are no
longer size_t but sockelen_t for 64-bits architectures. The final struct
size does not change, since paddings were added.
This patch fixes the build issue against GLIBC 2.24 socket.h header by
using the same definition for internal __sanitizer_msghdr and
__sanitizer_cmsghdr.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/
llvm-svn: 272008
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp')
0 files changed, 0 insertions, 0 deletions