diff options
author | Kamil Rytarowski <n54@gmx.com> | 2019-12-27 01:12:44 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2019-12-27 18:50:14 +0100 |
commit | 84afd9c5368c32e6a5710af8ad2de76efbbdc49a (patch) | |
tree | d34fc70bebd9e989f00e9b029099dce695808f5e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | b35c585a9a8185ca7de378a0d45ebb68e385e7a0 (diff) | |
download | llvm-84afd9c5368c32e6a5710af8ad2de76efbbdc49a.zip llvm-84afd9c5368c32e6a5710af8ad2de76efbbdc49a.tar.gz llvm-84afd9c5368c32e6a5710af8ad2de76efbbdc49a.tar.bz2 |
[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/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions