[all-commits] [llvm/llvm-project] 78f714: [compiler-rt] [netbsd] Add support for versioned s...
Kamil Rytarowski via All-commits
all-commits at lists.llvm.org
Thu Dec 26 16:15:59 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 78f714f824fac8aa3fdd85908c41538bccefb959
https://github.com/llvm/llvm-project/commit/78f714f824fac8aa3fdd85908c41538bccefb959
Author: Kamil Rytarowski <n54 at gmx.com>
Date: 2019-12-27 (Fri, 27 Dec 2019)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
A compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_netbsd_compat.inc
M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
Log Message:
-----------
[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
More information about the All-commits
mailing list