summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
Commit message (Collapse)AuthorAgeFilesLines
...
* [asan] Enable asan for aarch64Adhemerval Zanella2015-08-051-1/+1
| | | | | | | | | | | | | | | | This patch enables asan for aarch64/linux. It marks it as 'unstable-release', since some tests are failing due either kernel missing support of non-executable pages in mmap or environment instability (infinite loop in juno reference boards). It sets decorate_proc_maps test to require stable-release, since the test expects the shadow memory to not be executable and the support for aarch64 is only added recently by Linux (da141706aea52c1a9 - 4.0). It also XFAIL static_tls test for aarch64 linker may omit the __tls_get_addr call as a TLS optimization. llvm-svn: 244054
* Working on reconciling out-of-tree patches to compiler-rt for building for iOS.Chris Bieneman2015-06-231-0/+6
| | | | | | | | | | | | | | | | | | | Summary: This is one of many changes needed for compiler-rt to get it building on iOS. This change ifdefs out headers and functionality that aren't available on iOS. Note: this change does not enable building for iOS, as there are more changes to come. Reviewers: glider, kubabrecka, bogner, samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits Differential Revision: http://reviews.llvm.org/D10514 llvm-svn: 240468
* [ASan] Only include rpc headers if they are available.Yury Gribov2015-04-091-0/+6
| | | | | | Reviewed at http://reviews.llvm.org/D8698 llvm-svn: 234470
* Allow sanitizer to work with "old" kernel headersRenato Golin2015-02-241-0/+13
| | | | | | | | | | | | | | Sanitizers work on ancient kernels and were depending on types existing. When those types were removed, the sanitizer build broke. See bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009 for more information. This patch fixes it by isolating the need for those types only when the feature is actually needed, thus allowing one to compile the kernel with or without that change, irrespective of its version. Patch by Christophe Lyon. llvm-svn: 230324
* [MSan] [MIPS] Adding support for MIPS64 (patch by Mohit Bhakkad).Alexey Samsonov2014-11-191-0/+2
| | | | | | Reviewed at http://reviews.llvm.org/D5906 llvm-svn: 222388
* [asan] [mips] added support of asan for mips64/mips64el, patch by Kumar SukhaniKostya Serebryany2014-11-121-1/+7
| | | | llvm-svn: 221800
* Fix checks for Android.Dan Albert2014-10-201-1/+1
| | | | | | | | | | | | __ANDROID__ is a define that comes from the toolchain when building for Android targets. ANDROID has a different meaning. ANDROID is defined for _every_ Android build, including those done for host modules. For host modules, we want to build the regular Linux sanitizers and builtins, not the one for Android devices. This hasn't been a problem until now because we only just started building the sanitizers for the host. llvm-svn: 220203
* [sanitizer] define SANITIZER_X32 and use it in ThreadDescriptorSize; ↵Kostya Serebryany2014-05-211-0/+6
| | | | | | partially based on patch by H.J. Lu llvm-svn: 209279
* [FreeBSD] Port sanitizers' syscalls.Alexey Samsonov2014-03-071-1/+1
| | | | | | Patch by Viktor Kutuzov! llvm-svn: 203227
* A set of trivial changes to support sanitizers on FreeBSD.Alexey Samsonov2014-03-041-1/+1
| | | | | | Patch by Viktor Kutuzov! llvm-svn: 202801
* [sanitizer] Interception macros for sanitizers on FreeBSD; patch by Viktor ↵Kostya Serebryany2014-02-241-1/+8
| | | | | | Kutuzov llvm-svn: 202009
* [sanitizer] AArch64 sanitizer support; patch by Christophe Lyon and Yvan RouxKostya Serebryany2014-02-131-2/+21
| | | | llvm-svn: 201303
* [asan] allow asan to use SizeClassAllocator32 on a 64-bit platform (if ↵Kostya Serebryany2013-12-261-0/+27
| | | | | | SANITIZER_CAN_USE_ALLOCATOR64=0). No functionality change by default is intended llvm-svn: 198044
* [libsanitizer] Define SANITIZER_IOS when building for iOS or iOS simulator.Alexander Potapenko2013-10-311-0/+7
| | | | | | Do not use struct stat64 and struct statfs64 when building for iOS, where __DARWIN_ONLY_64_BIT_INO_T is set to 1. llvm-svn: 193775
* [sanitizer] Replace more platform checks with SANITIZER_ constants.Evgeniy Stepanov2013-03-191-0/+46
llvm-svn: 177400
OpenPOWER on IntegriCloud