summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2017-06-03 11:11:36 +0000
committerDimitry Andric <dimitry@andric.com>2017-06-03 11:11:36 +0000
commit6c00c9950cdc1f9c80b1589ea0203f725826279e (patch)
tree46b61e41dca67e4c8426b8605c232b0992cfff73 /llvm/lib/Target/X86/X86ISelLowering.cpp
parentda197aab638df322c97d5da2e83cf9510de0a657 (diff)
downloadbcm5719-llvm-6c00c9950cdc1f9c80b1589ea0203f725826279e.tar.gz
bcm5719-llvm-6c00c9950cdc1f9c80b1589ea0203f725826279e.zip
Adjust sanitizers for FreeBSD 64-bit inode update
Summary: Very recently, FreeBSD 12 has been updated to use 64-bit inode numbers: <https://svnweb.freebsd.org/changeset/base/318737>. This entails many user-visible changes, but for the sanitizers the modifications are limited in scope: * The `stat` and `lstat` syscalls were removed, and should be replaced with calls to `fstatat`. * The `getdents` syscall was removed, and should be replaced with calls to `getdirentries`. * The layout of `struct dirent` was changed to accomodate 64-bit inode numbers, and a new `d_off` field was added. * The system header <sys/_types.h> now contains a macro `__INO64` to determine whether the system uses 64-bit inode numbers. I tested these changes on both FreeBSD 12.0-CURRENT (after r318959, which adds the `__INO64` macro), and FreeBSD 11.0-STABLE (which still uses 32-bit inode numbers). Reviewers: emaste, kcc, vitalybuka, kubamracek Reviewed By: vitalybuka Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33600 llvm-svn: 304658
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud