[PATCH] D40898: [Sanitizers] Basic sanitizer Solaris support (PR 33274)
Rainer Orth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 06:33:40 PST 2017
ro updated this revision to Diff 125944.
ro added a comment.
I've now revised the patch, introducing sanitizer_platform_limits_solaris.{cc,h} along the
lines of the corresponding NetBSD files. While this certainly simplifies the code avoiding
the #ifdef maze in sanitizer_platform_limits_posix.{cc,h}, it would be good to handle the
Linux and FreeBSD contents in those files along the same lines to avoid confusing future
contributors. Further, it would be good to keep those parts that are common to all posix
platforms in the s_p_l_posix.* files instead of duplicating those into their platform-specific
counterparts.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D40898
Files:
lib/asan/asan_interceptors.h
lib/asan/asan_linux.cc
lib/asan/asan_malloc_linux.cc
lib/interception/interception.h
lib/interception/interception_linux.cc
lib/interception/interception_linux.h
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
lib/sanitizer_common/sanitizer_errno.h
lib/sanitizer_common/sanitizer_internal_defs.h
lib/sanitizer_common/sanitizer_linux.cc
lib/sanitizer_common/sanitizer_linux.h
lib/sanitizer_common/sanitizer_linux_libcdep.cc
lib/sanitizer_common/sanitizer_mutex.h
lib/sanitizer_common/sanitizer_platform.h
lib/sanitizer_common/sanitizer_platform_interceptors.h
lib/sanitizer_common/sanitizer_platform_limits_solaris.cc
lib/sanitizer_common/sanitizer_platform_limits_solaris.h
lib/sanitizer_common/sanitizer_posix.h
lib/sanitizer_common/sanitizer_posix_libcdep.cc
lib/sanitizer_common/sanitizer_procmaps.h
lib/sanitizer_common/sanitizer_procmaps_common.cc
lib/sanitizer_common/sanitizer_procmaps_solaris.cc
lib/sanitizer_common/sanitizer_solaris.cc
lib/sanitizer_common/sanitizer_syscall_generic.inc
lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc
lib/ubsan/ubsan_platform.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40898.125944.patch
Type: text/x-patch
Size: 82255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171207/c7fcbc78/attachment-0001.bin>
More information about the llvm-commits
mailing list