diff options
author | Kamil Rytarowski <n54@gmx.com> | 2019-12-27 01:12:44 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2019-12-27 01:15:39 +0100 |
commit | 78f714f824fac8aa3fdd85908c41538bccefb959 (patch) | |
tree | 28f58286163d1f235691d456e15ab6ae1a96b8ae /llvm/lib/Target/X86 | |
parent | 1584e2f9870fb95169cd4ea7aedc05bfabe28cf6 (diff) | |
download | bcm5719-llvm-78f714f824fac8aa3fdd85908c41538bccefb959.tar.gz bcm5719-llvm-78f714f824fac8aa3fdd85908c41538bccefb959.zip |
[compiler-rt] [netbsd] Add support for versioned statvfs interceptors
Summary:
Add support for NetBSD 9.0 and newer versions of interceptors
operating on struct statvfs: fstatvfs, fstatvfs1, getmntinfo,
getvfsstat, statvfs, statvfs1.
The default promoted interceptors are for NetBSD 9.99.26. Older
ones (currently 9.0) are kept in a new NetBSD specific file:
/sanitizer_common_interceptors_netbsd_compat.inc. This file
defines compat interceptors and mangles `INIT_*` macros,
concatenating the current interceptors and the compat ones.
This redefinition is not elegant, but it avoids preprocessor madness.
Define struct_statvfs90_sz for the compat purposes.
Reviewers: mgorny, kcc, vitalybuka, joerg
Reviewed By: mgorny
Subscribers: dberris, llvm-commits, #sanitizers
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D71700
Diffstat (limited to 'llvm/lib/Target/X86')
0 files changed, 0 insertions, 0 deletions