diff options
| author | Kostya Serebryany <kcc@google.com> | 2015-01-21 02:08:42 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2015-01-21 02:08:42 +0000 |
| commit | d4a032f6c60a351a7b10d6e3921b2a4134ecfe19 (patch) | |
| tree | 1d7fbe1da27c79c19e43d556017e1eb0883752de /llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp | |
| parent | c6338ac943099db46e700a03fb7e7c90e2ffd4d8 (diff) | |
| download | llvm-d4a032f6c60a351a7b10d6e3921b2a4134ecfe19.zip llvm-d4a032f6c60a351a7b10d6e3921b2a4134ecfe19.tar.gz llvm-d4a032f6c60a351a7b10d6e3921b2a4134ecfe19.tar.bz2 | |
[sanitizer] Fix aarch64 sanitizer build with recent glibc
glibc recently changed ABI on aarch64-linux:
https://sourceware.org/git/?p=glibc.git;a=commit;h=5c40c3bab2fddaca8cfe12d75944d1fef8adf1a4
Instead of having unsigned short mode; unsigned short __pad1; it now has
unsigned int mode; field in ipc_perm structure.
This patch allows to build against the recent glibc and disables the
ipc_perm.mode verification for older versions of glibc.
I think it shouldn't be a big deal even for older glibcs, I couldn't find
any place which would actually care about the exact mode field, rather than
the whole structure, appart from the CHECK_SIZE_AND_OFFSET macro.
Patch by Jakub Jelinek
llvm-svn: 226637
Diffstat (limited to 'llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
