Alexey Samsonov | 8489f2a | 2012-02-08 19:52:01 +0000 | [diff] [blame] | 1 | //===-- interception_mac.h --------------------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file is a part of AddressSanitizer, an address sanity checker. |
| 11 | // |
| 12 | // Mac-specific interception methods. |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
Kamil Rytarowski | 90b4635 | 2017-12-06 17:02:00 +0000 | [diff] [blame^] | 15 | #if SANITIZER_MAC |
Alexey Samsonov | 8489f2a | 2012-02-08 19:52:01 +0000 | [diff] [blame] | 16 | |
| 17 | #if !defined(INCLUDED_FROM_INTERCEPTION_LIB) |
| 18 | # error "interception_mac.h should be included from interception.h only" |
| 19 | #endif |
| 20 | |
| 21 | #ifndef INTERCEPTION_MAC_H |
| 22 | #define INTERCEPTION_MAC_H |
| 23 | |
Alexander Potapenko | 34157fc | 2013-02-05 15:57:12 +0000 | [diff] [blame] | 24 | #define INTERCEPT_FUNCTION_MAC(func) |
Alexey Samsonov | edecc38 | 2013-10-16 08:20:31 +0000 | [diff] [blame] | 25 | #define INTERCEPT_FUNCTION_VER_MAC(func, symver) |
Alexey Samsonov | 8489f2a | 2012-02-08 19:52:01 +0000 | [diff] [blame] | 26 | |
| 27 | #endif // INTERCEPTION_MAC_H |
Kamil Rytarowski | 90b4635 | 2017-12-06 17:02:00 +0000 | [diff] [blame^] | 28 | #endif // SANITIZER_MAC |