summaryrefslogtreecommitdiff
path: root/lib/interception/interception_type_test.cc
AgeCommit message (Collapse)Author
2017-12-06[Sanitizers] Use SANITIZER_* macros in lib/interceptionKamil Rytarowski
Summary: Unlike the rest of the sanitizer code, lib/interception uses native macros like __linux__ to check for specific targets instead of the common ones like SANITIZER_LINUX. When working on the Solaris port of the sanitizers, the current style was found to not only be inconsistent, but clumsy to use because the canonical way to check for Solaris is to check for __sun__ && __svr4__ which is a mouthful. Therefore, this patch switches to use SANITIZER_* macros instead. Tested on x86_64-pc-linux-gnu. Reviewers: kcc, vitalybuka Reviewed By: vitalybuka Subscribers: #sanitizers, srhines, krytarowski, llvm-commits, fedor.sergeev Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D39798 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319906 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-05PR16532: work around old GCC bug in interception_type_test.ccAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@196506 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07[sanitizer] Exclude off64_t test on mac.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174598 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07[Sanitizer] include stddef.h for ptrdiff_t in interception type testAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174597 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07[sanitizer] Add a missing header.Evgeniy Stepanov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174594 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07[sanitizer] Fix wrong size of OFF_T on 32-bit platforms.Evgeniy Stepanov
This broke pread/pwrite interceptors when building without -D_FILE_OFFSET_BITS=64, and always on Android. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174593 91177308-0d34-0410-b5e6-96231b3b80d8