aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-02-15 03:36:16 +0000
committerKamil Rytarowski <n54@gmx.com>2018-02-15 03:36:16 +0000
commit5ffda0cc1ff090c64f8367c09480ade61a9d298c (patch)
tree07902b46e499a9947b239f8e5d6cff9cf8a17784 /llvm/lib/CodeGen/MachineCombiner.cpp
parent9af0ed4aeb7abb9a2dc262f380e48387de4cff43 (diff)
downloadllvm-5ffda0cc1ff090c64f8367c09480ade61a9d298c.zip
llvm-5ffda0cc1ff090c64f8367c09480ade61a9d298c.tar.gz
llvm-5ffda0cc1ff090c64f8367c09480ade61a9d298c.tar.bz2
Teach sanitizer about NetBSD specific ioctl(2) calls
Summary: Introduce handling of 1200 NetBSD specific ioctl(2) calls. Over 100 operations are disabled as unavailable or conflicting with the existing ones (the same operation number). Add a script that generates the rules to detect ioctls on NetBSD. The generate_netbsd_ioctls.awk script has been written in NetBSD awk(1) (patched nawk) and is compatible with gawk. Generate lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc with the awk(1) script. Update sanitizer_platform_limits_netbsd accordingly to add the needed definitions. Sponsored by <The NetBSD Foundation> Reviewers: joerg, vitalybuka, eugenis, dvyukov Reviewed By: vitalybuka Subscribers: kubamracek, llvm-commits, mgorny, fedor.sergeev, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D41636 llvm-svn: 325212
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions