[all-commits] [llvm/llvm-project] daa62c: [compiler-rt] [netbsd] Add support for versioned s...
Kamil Rytarowski via All-commits
all-commits at lists.llvm.org
Thu Dec 26 16:13:36 PST 2019
Branch: refs/heads/arcpatch-D71700
Home: https://github.com/llvm/llvm-project
Commit: daa62c8ed46f64c790fdee93bf6449f984ac514e
https://github.com/llvm/llvm-project/commit/daa62c8ed46f64c790fdee93bf6449f984ac514e
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