Module Name: src Committed By: kamil Date: Wed Aug 14 00:51:48 UTC 2019
Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/asan: asan_posix.cc src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common: sanitizer_interceptors_ioctl_netbsd.inc sanitizer_platform_limits_netbsd.cc sanitizer_platform_limits_netbsd.h Log Message: Cherry-pick upstream compiler-rt patches for LLVM sanitizers Upstream no longer accepts patches for LLVM-8, therefore pull needed changes downstream. Enhancements: * resolved build failured with NetBSD 9.99.3 * ioctl(2) lists are synced with NetBSD 9.99.3 * fixes dynamic asan (-fsanitize=address -shared-libasa) crash on init commit 092068cd7429659138d6779a3072298462ad3e9c Author: Kamil Rytarowski <n...@gmx.com> Date: Wed Aug 7 21:56:43 2019 +0000 Restrict the NetBSD ASan TSD fallback to !ASAN_DYNAMIC The fallback to the alternative implementation of TSD with TLS is only needed for the static version of ASan for NetBSD. The same code cannot be reused for the dynamic version of ASan as TLS breaks and TSD code works. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368219 91177308-0d34-0410-b5e6-96231b3b80d8 commit 0bd9d23c4317d5d1c440e19892e178a29c9fe7be Author: Kamil Rytarowski <n...@gmx.com> Date: Thu Aug 8 02:21:44 2019 +0000 Sync ioctl(2) list with NetBSD 9.99.3 Register 36 new ioctl(2) calls. Enable NVMM for amd64 as the API has been stabilized. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368247 91177308-0d34-0410-b5e6-96231b3b80d8 commit 08d3c10606f09a4545487e9c3fad919ee396e3a6 Author: Tom Stellard <tstel...@redhat.com> Date: Wed May 15 20:29:49 2019 +0000 Merging r360212: ------------------------------------------------------------------------ r360212 | kamil | 2019-05-07 17:44:41 -0700 (Tue, 07 May 2019) | 6 lines Fix build on NetBSD 8.99.38 With recent changes the dev/nvmm/nvmm_ioctl.h header is no longer a standalone NVMM header. Disable it until the NVMM operations will stabilize and be included in the ioctl(2) interceptors. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_80@360811 91177308-0d34-0410-b5e6-96231b3b80d8 To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/external/bsd/compiler_rt/dist/lib/asan/asan_posix.cc cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc \ src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc \ src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.